Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions proxy/http2/Http2ClientSession.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down Expand Up @@ -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();
}