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); }