This is an automated email from the ASF dual-hosted git repository. masaori pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push: new 59c4a58 Cleanup: Remove unused function & old comments 59c4a58 is described below commit 59c4a58adca8cdbb3dd540ec8f8db0238d9b919c Author: Masaori Koshiba <masa...@apache.org> AuthorDate: Wed Aug 14 10:06:40 2019 +0900 Cleanup: Remove unused function & old comments --- proxy/http2/Http2ClientSession.cc | 6 ------ proxy/http2/Http2ClientSession.h | 6 ------ 2 files changed, 12 deletions(-) diff --git a/proxy/http2/Http2ClientSession.cc b/proxy/http2/Http2ClientSession.cc index 425582a..c55cc5c 100644 --- a/proxy/http2/Http2ClientSession.cc +++ b/proxy/http2/Http2ClientSession.cc @@ -175,12 +175,6 @@ Http2ClientSession::start() read_vio = this->do_io_read(this, INT64_MAX, this->read_buffer); write_vio = this->do_io_write(this, INT64_MAX, this->sm_writer); - // 3.5 HTTP/2 Connection Preface. Upon establishment of a TCP connection and - // determination that HTTP/2 will be used by both peers, each endpoint MUST - // send a connection preface as a final confirmation ... - // this->write_buffer->write(HTTP2_CONNECTION_PREFACE, - // HTTP2_CONNECTION_PREFACE_LEN); - this->connection_state.init(); send_connection_event(&this->connection_state, HTTP2_SESSION_EVENT_INIT, this); this->handleEvent(VC_EVENT_READ_READY, read_vio); diff --git a/proxy/http2/Http2ClientSession.h b/proxy/http2/Http2ClientSession.h index b7b4ce5..433be89 100644 --- a/proxy/http2/Http2ClientSession.h +++ b/proxy/http2/Http2ClientSession.h @@ -303,12 +303,6 @@ public: } } - int64_t - write_buffer_size() - { - return write_buffer->max_read_avail(); - } - // Record history from Http2ConnectionState void remember(const SourceLocation &location, int event, int reentrant = NO_REENTRANT);