From 38c6804cabab937af90d3e5eafffc61fad7a900c Mon Sep 17 00:00:00 2001 From: Evan Zelkowitz Date: Tue, 22 Jun 2021 15:43:43 -0600 Subject: [PATCH] Revert "Adjust connection timeout for TLS (#7810)" This reverts commit fb4574b06c1ded416ecaf00fabb5b0e4269484ae. --- iocore/net/UnixNetVConnection.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/iocore/net/UnixNetVConnection.cc b/iocore/net/UnixNetVConnection.cc index 13fa4dd06ca..efb7579d04f 100644 --- a/iocore/net/UnixNetVConnection.cc +++ b/iocore/net/UnixNetVConnection.cc @@ -376,9 +376,8 @@ write_to_net_io(NetHandler *nh, UnixNetVConnection *vc, EThread *thread) // vc is an SSLNetVConnection. if (!vc->getSSLHandShakeComplete()) { if (vc->trackFirstHandshake()) { - // Eat the first write-ready. Until the TLS handshake is complete, - // we should still be under the connect timeout and shouldn't bother - // the state machine until the TLS handshake is complete + // Send the write ready on up to the state machine + write_signal_and_update(VC_EVENT_WRITE_READY, vc); vc->write.triggered = 0; nh->write_ready_list.remove(vc); }