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

fix waiting error for TCPTransport #821

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ranqb
Copy link

@Ranqb Ranqb commented Aug 17, 2020

when using NWConnection, if there are problems accessing the socket and the server breaks the connection when requesting a handshake, stateUpdateHandler return case .waiting
There is no handler for this case and we don't get an event in WebSocketDelegate

In my case returns the following errors:

 [BoringSSL] nw_protocol_boringssl_input_finished(1543) [0x7ff02ec0a0a0] Peer disconnected during the middle of a handshake. Sending errSSLClosedNoNotify(-9816) alert
 [] nw_http_connect_process_response http connect Proxy received status: HTTP/1.0 503 Error
 [BoringSSL] nw_protocol_boringssl_error(1584) [0x7ff02ec0a0a0] Lower protocol stack error: 57
 [] nw_protocol_http_connect_disconnected http connect disconnected before negotiation complete
 [] nw_endpoint_proxy_start_next_child [C13 tst.ru:443 in_progress proxy (satisfied)] no child at index 2

@Ranqb Ranqb marked this pull request as ready for review August 17, 2020 15:01
@Ranqb
Copy link
Author

Ranqb commented Aug 20, 2020

@daltoniam what decision will be made?

@aChase55
Copy link

Any good reason as to why this hasn't been merged?

@eric-clover
Copy link
Contributor

Is there an ETA on getting this merged?

@fukemy
Copy link

fukemy commented Dec 6, 2022

hello, i still got problem when using ios 16

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

Successfully merging this pull request may close these issues.

None yet

5 participants