We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6dc6cc commit 9ade24fCopy full SHA for 9ade24f
1 file changed
src/websocket/client_ev.lua
@@ -144,6 +144,12 @@ local ev = function(ws)
144
local resp = {}
145
local response = ''
146
local read_upgrade = function(loop,read_io)
147
+ -- this seems to be possible, i don't understand why though :(
148
+ if not sock then
149
+ read_io:stop(loop)
150
+ handshake_io = nil
151
+ return
152
+ end
153
repeat
154
local byte,err,pp = sock:receive(1)
155
if byte then
0 commit comments