nghttpx: Log when connection was upgraded to HTTP/2
This commit is contained in:
parent
8f23c0c38b
commit
0a527f16f5
|
@ -126,6 +126,10 @@ int Http2Upstream::upgrade_upstream(HttpsUpstream *http)
|
|||
downstream->set_stream_id(1);
|
||||
downstream->set_priority(0);
|
||||
|
||||
if(LOG_ENABLED(INFO)) {
|
||||
ULOG(INFO, this) << "Connection upgraded to HTTP/2";
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue