zeek / broker

Zeek's Messaging Library
https://docs.zeek.org/projects/broker
Other
65 stars 28 forks source link

Broker websocket client connections not closed correctly #428

Open simeonmiteff opened 1 week ago

simeonmiteff commented 1 week ago

It looks like the CAF websocket implementation can do websocket close frames but I have never seen broker/zeek use it to close a connection to a client correctly - it just drops the TCP connection (whether that is due to something weird like zeek/zeek#3939 or just because zeek is terminating). It would be useful to correct this.

Neverlord commented 1 week ago

If this happens during shutdown, it might be that Broker just won't give the managed sockets any time for sending shutdown messages. I'll see what I can do.