SwiftWebSocket icon indicating copy to clipboard operation
SwiftWebSocket copied to clipboard

Handle close code if it was not handled before closing

Open west0r opened this issue 6 years ago • 3 comments

WebSocket not handle close code when connection was closed by server. I handle code on closing.

west0r avatar Apr 06 '18 08:04 west0r

@west0r I'm experiencing occasional crashes in handleCloseCodeFromFirstCloseFrameIfNeeded() on the line if frame.code == .close {, is this anything you have seen?

snoozemoose avatar Mar 20 '19 08:03 snoozemoose

@snoozemoose no, my problem was related to ability to handle close code. I didn't see any crashes.

west0r avatar Mar 28 '19 16:03 west0r

I'd love this to be merged, so far no crashes for me, but I'd like to switch from locally changed version to the upstream.

beefon avatar May 29 '19 15:05 beefon