Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[qtnetwork] Error gracefully when server closes TLS connection before…
… handshake completes. Fixes JB#53591. If the server closes a TLS connection before the handshake completes (which can happen, for example, if the server doesn't support TLS connections) a retry is attempted on a null protocol handler. This causes a segfault. This change returns a RemoteHostClosedError instead of retrying, thereby avoiding the segfault.
- Loading branch information