This is an automated email from the ASF dual-hosted git repository. jpeach pushed a commit to branch master in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push: new 5fd32b1 Group boolean members to reduce alignment padding. 5fd32b1 is described below commit 5fd32b1ec638ea81aac1b3637506d50b1b3dfd1c Author: James Peach <jpe...@apache.org> AuthorDate: Tue Aug 9 15:52:36 2016 -0700 Group boolean members to reduce alignment padding. --- proxy/http2/Http2Stream.cc | 2 +- proxy/http2/Http2Stream.h | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/proxy/http2/Http2Stream.cc b/proxy/http2/Http2Stream.cc index 9d878d8..2fc73c4 100644 --- a/proxy/http2/Http2Stream.cc +++ b/proxy/http2/Http2Stream.cc @@ -594,7 +594,7 @@ Http2Stream::reenable(VIO *vio) void Http2Stream::destroy() { - Debug("http2_stream", "Destroy stream %d. Sent %d bytes", this->_id, this->bytes_sent); + Debug("http2_stream", "Destroy stream %d, sent %" PRIu64 " bytes", this->_id, this->bytes_sent); // Clean up the write VIO in case of inactivity timeout this->do_io_write(NULL, 0, NULL); diff --git a/proxy/http2/Http2Stream.h b/proxy/http2/Http2Stream.h index 31abc8f..2a8eff8 100644 --- a/proxy/http2/Http2Stream.h +++ b/proxy/http2/Http2Stream.h @@ -59,11 +59,11 @@ public: _state(HTTP2_STREAM_STATE_IDLE), trailing_header(false), body_done(false), - data_length(0), closed(false), sent_delete(false), - bytes_sent(0), chunked(false), + data_length(0), + bytes_sent(0), cross_thread_event(NULL), active_timeout(0), active_event(NULL), @@ -110,7 +110,7 @@ public: } void - update_sent_count(int num_bytes) + update_sent_count(unsigned num_bytes) { bytes_sent += num_bytes; } @@ -246,14 +246,17 @@ private: HTTPHdr _req_header; VIO read_vio; VIO write_vio; + bool trailing_header; bool body_done; - uint64_t data_length; bool closed; bool sent_delete; - int bytes_sent; - ChunkedHandler chunked_handler; bool chunked; + + uint64_t data_length; + uint64_t bytes_sent; + + ChunkedHandler chunked_handler; Event *cross_thread_event; // Support stream-specific timeouts -- To stop receiving notification emails like this one, please contact ['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].