trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [trafficserver] branch 8.1.x updated: Revert "Adjust connection timeout for TLS (#7810)" (#7975)
Date Tue, 22 Jun 2021 22:42:39 GMT
This is an automated email from the ASF dual-hosted git repository.

eze pushed a commit to branch 8.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/8.1.x by this push:
     new b827b9c  Revert "Adjust connection timeout for TLS (#7810)" (#7975)
b827b9c is described below

commit b827b9c622758534dbc5fae9ead685ffc155aeaa
Author: Evan Zelkowitz <eze@apache.org>
AuthorDate: Tue Jun 22 15:42:31 2021 -0700

    Revert "Adjust connection timeout for TLS (#7810)" (#7975)
    
    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 13fa4dd..efb7579 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);
     }

Mime
View raw message