SwiftWebSocket
SwiftWebSocket copied to clipboard
Handle close code if it was not handled before closing
WebSocket not handle close code when connection was closed by server. I handle code on closing.
@west0r I'm experiencing occasional crashes in handleCloseCodeFromFirstCloseFrameIfNeeded()
on the line if frame.code == .close {
, is this anything you have seen?
@snoozemoose no, my problem was related to ability to handle close code. I didn't see any crashes.
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.