nghttpx: Fix stall if read buffer has app data when handshake finished

This commit is contained in:
Tatsuhiro Tsujikawa 2015-08-11 22:37:15 +09:00
parent e5a9f6c163
commit d2a63a88a0
1 changed files with 4 additions and 0 deletions

View File

@ -417,6 +417,10 @@ int Connection::tls_handshake() {
tls.initial_handshake_done = true;
if (tls.rb->rleft()) {
ev_feed_event(loop, &rev, EV_READ);
}
if (LOG_ENABLED(INFO)) {
LOG(INFO) << "SSL/TLS handshake completed";
if (SSL_session_reused(tls.ssl)) {