diff --git a/src/shrpx_http2_upstream.cc b/src/shrpx_http2_upstream.cc index dba024c0..4eef635d 100644 --- a/src/shrpx_http2_upstream.cc +++ b/src/shrpx_http2_upstream.cc @@ -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; }