gotosocial/internal/api/client/streaming
kim 1bda6a2002
[bugfix] return early in websocket upgrade handler (#1315)
* launch websocket streaming in goroutine to allow upgrade handler to return

* don't send any message on ping, improved close check on failed read

* use context to signal wsconn close, ensure canceled in read goroutine

Signed-off-by: kim <grufwub@gmail.com>
2023-01-08 11:43:08 +00:00
..
stream.go [bugfix] return early in websocket upgrade handler (#1315) 2023-01-08 11:43:08 +00:00
streaming.go [bugfix] return early in websocket upgrade handler (#1315) 2023-01-08 11:43:08 +00:00
streaming_test.go [bugfix] return early in websocket upgrade handler (#1315) 2023-01-08 11:43:08 +00:00