From 05058e6812255770b6b6ae80e8398c1c6bb77d58 Mon Sep 17 00:00:00 2001 From: Masaori Koshiba Date: Wed, 12 May 2021 14:58:02 +0900 Subject: [PATCH] Cleanup: unused functions of Http2ClientSession --- proxy/http2/Http2ClientSession.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/proxy/http2/Http2ClientSession.h b/proxy/http2/Http2ClientSession.h index 79ff41cf74f..b9f542191ad 100644 --- a/proxy/http2/Http2ClientSession.h +++ b/proxy/http2/Http2ClientSession.h @@ -97,7 +97,6 @@ class Http2ClientSession : public ProxySession void increment_current_active_connections_stat() override; void decrement_current_active_connections_stat() override; - void set_upgrade_context(HTTPHdr *h); void set_dying_event(int event); int get_dying_event() const; bool ready_to_free() const; @@ -106,7 +105,6 @@ class Http2ClientSession : public ProxySession bool get_half_close_local_flag() const; bool is_url_pushed(const char *url, int url_len); void add_url_to_pushed_table(const char *url, int url_len); - int64_t write_buffer_size(); // Record history from Http2ConnectionState void remember(const SourceLocation &location, int event, int reentrant = NO_REENTRANT); @@ -219,9 +217,3 @@ Http2ClientSession::is_url_pushed(const char *url, int url_len) return _h2_pushed_urls->find(url) != _h2_pushed_urls->end(); } - -inline int64_t -Http2ClientSession::write_buffer_size() -{ - return write_buffer->max_read_avail(); -}