Skip to content
New issue

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

Connection closed without notification? #14

Open
jpalten opened this issue Jul 18, 2018 · 0 comments
Open

Connection closed without notification? #14

jpalten opened this issue Jul 18, 2018 · 0 comments

Comments

@jpalten
Copy link
Contributor

jpalten commented Jul 18, 2018

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant