We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the other side of the ssh shell disconnects for some reason, I get no error callback. Any idea how to catch this hangup?
The console gives me this:
[] nw_socket_handle_socket_event Event mask: 0x4 [] tcp_connection_cancel 28 [] nw_socket_handle_socket_event Socket received WRITE_CLOSE event [] nw_endpoint_handler_cancel [26 api.dropbox.com:443 ready resolver (satisfied)] [] nw_endpoint_handler_cancel [26.1 162.125.1.7:443 ready socket-flow (satisfied)] [] __nw_socket_service_writes_block_invoke sendmsg(fd 263, 31 bytes): socket has been closed [] nw_endpoint_flow_protocol_error [26.1 162.125.1.7:443 cancelled socket-flow (null)] Socket protocol sent error: [32] Broken pipe [] nw_endpoint_flow_protocol_disconnected [26.1 162.125.1.7:443 cancelled socket-flow (null)] Output protocol disconnected [] nw_resolver_cancel_on_queue 0x60800010efa0 [] nw_endpoint_handler_cancel [28 api-content.dropbox.com:443 ready resolver (satisfied)] [] nw_endpoint_handler_cancel [28.1 162.125.1.8:443 ready socket-flow (satisfied)] [] __nw_socket_service_writes_block_invoke sendmsg(fd 318, 31 bytes): socket has been closed [] nw_endpoint_flow_protocol_error [28.1 162.125.1.8:443 cancelled socket-flow (null)] Socket protocol sent error: [32] Broken pipe [] nw_endpoint_flow_protocol_disconnected [28.1 162.125.1.8:443 cancelled socket-flow (null)] Output protocol disconnected [] nw_resolver_cancel_on_queue 0x60800010eb20 [] -[NWConcrete_tcp_connection dealloc] 26 [] nw_socket_handle_socket_event Event mask: 0x4 [] nw_socket_handle_socket_event Socket received WRITE_CLOSE event [] -[NWConcrete_tcp_connection dealloc] 28 [] tcp_connection_cancel 27 [] nw_socket_handle_socket_event Event mask: 0x4 [] nw_socket_handle_socket_event Socket received WRITE_CLOSE event [] nw_endpoint_handler_cancel [27 api-content.dropbox.com:443 ready resolver (satisfied)] [] nw_endpoint_handler_cancel [27.1 162.125.1.8:443 ready socket-flow (satisfied)] [] __nw_socket_service_writes_block_invoke sendmsg(fd 316, 31 bytes): socket has been closed [] nw_endpoint_flow_protocol_error [27.1 162.125.1.8:443 cancelled socket-flow (null)] Socket protocol sent error: [32] Broken pipe [] nw_endpoint_flow_protocol_disconnected [27.1 162.125.1.8:443 cancelled socket-flow (null)] Output protocol disconnected [] nw_resolver_cancel_on_queue 0x60800010add0 [] -[NWConcrete_tcp_connection dealloc] 27
The text was updated successfully, but these errors were encountered:
Detect if the socket has been closed without EOF
8bf3ae7
#14
No branches or pull requests
When the other side of the ssh shell disconnects for some reason, I get no error callback. Any idea how to catch this hangup?
The console gives me this:
The text was updated successfully, but these errors were encountered: