nghttpx: Log when connection was upgraded to HTTP/2

This commit is contained in:
Tatsuhiro Tsujikawa 2014-04-05 18:59:22 +09:00
parent 8f23c0c38b
commit 0a527f16f5
1 changed files with 4 additions and 0 deletions

View File

@ -126,6 +126,10 @@ int Http2Upstream::upgrade_upstream(HttpsUpstream *http)
downstream->set_stream_id(1); downstream->set_stream_id(1);
downstream->set_priority(0); downstream->set_priority(0);
if(LOG_ENABLED(INFO)) {
ULOG(INFO, this) << "Connection upgraded to HTTP/2";
}
return 0; return 0;
} }