nghttpx: Start read watcher after handshake

This commit is contained in:
Tatsuhiro Tsujikawa
2015-08-11 23:14:48 +09:00
parent d2a63a88a0
commit 020e66b9da

View File

@@ -421,6 +421,10 @@ int Connection::tls_handshake() {
ev_feed_event(loop, &rev, EV_READ); ev_feed_event(loop, &rev, EV_READ);
} }
// We may have stopped reading
rlimit.startw();
ev_timer_again(loop, &rt);
if (LOG_ENABLED(INFO)) { if (LOG_ENABLED(INFO)) {
LOG(INFO) << "SSL/TLS handshake completed"; LOG(INFO) << "SSL/TLS handshake completed";
if (SSL_session_reused(tls.ssl)) { if (SSL_session_reused(tls.ssl)) {