closing become a simple information (not an error)
parent
4ae93338a5
commit
188f4fc701
|
@ -306,7 +306,7 @@ def websocket_switching_procedure (activefd : Int)
|
||||||
still_something_to_read = ! wsclient.ws.io.empty?
|
still_something_to_read = ! wsclient.ws.io.empty?
|
||||||
|
|
||||||
if wsclient.closed?
|
if wsclient.closed?
|
||||||
Baguette::Log.error "client #{activefd} is closing"
|
Baguette::Log.info "client #{activefd} is closing"
|
||||||
Context.context.remove_fd activefd
|
Context.context.remove_fd activefd
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Reference in New Issue