diff --git a/proxy/http3/Http3Session.cc b/proxy/http3/Http3Session.cc index ba629201e44..f993887aadc 100644 --- a/proxy/http3/Http3Session.cc +++ b/proxy/http3/Http3Session.cc @@ -61,7 +61,7 @@ HQSession::remove_transaction(HQTransaction *trans) const char * HQSession::get_protocol_string() const { - return this->_protocol_string; + return ""; } int @@ -201,6 +201,12 @@ Http3Session::decrement_current_active_connections_stat() // TODO Implement stats } +const char * +Http3Session::get_protocol_string() const +{ + return "http/3"; +} + QPACK * Http3Session::local_qpack() { diff --git a/proxy/http3/Http3Session.h b/proxy/http3/Http3Session.h index 4d78b27a9f4..22453660461 100644 --- a/proxy/http3/Http3Session.h +++ b/proxy/http3/Http3Session.h @@ -77,6 +77,9 @@ class Http3Session : public HQSession void increment_current_active_connections_stat() override; void decrement_current_active_connections_stat() override; + // Implement ProxySession interface + const char *get_protocol_string() const override; + QPACK *local_qpack(); QPACK *remote_qpack();