mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-06 18:18:52 +08:00
nghttpx: Start read watcher after handshake
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user