Repository: trafficserver
Updated Branches:
  refs/heads/6.0.x e89f05100 -> 1a8e29106


TS-3752: Problem with larger headers and HTTP/2

Should have been part of the cherry pick from 
00ce2f1113baa9485262695a66ee67a08fc5d121
There was a conflict and these methods where left in


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/1a8e2910
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/1a8e2910
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/1a8e2910

Branch: refs/heads/6.0.x
Commit: 1a8e29106042c52ec467d9d6827ed1e332a880fe
Parents: e89f051
Author: Bryan Call <[email protected]>
Authored: Tue Aug 25 20:17:21 2015 -0700
Committer: Bryan Call <[email protected]>
Committed: Tue Aug 25 20:17:21 2015 -0700

----------------------------------------------------------------------
 proxy/http2/Http2ConnectionState.cc | 28 ----------------------------
 1 file changed, 28 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1a8e2910/proxy/http2/Http2ConnectionState.cc
----------------------------------------------------------------------
diff --git a/proxy/http2/Http2ConnectionState.cc 
b/proxy/http2/Http2ConnectionState.cc
index 54d9148..89910be 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -863,34 +863,6 @@ Http2ConnectionState::cleanup_streams()
 }
 
 void
-Http2ConnectionState::set_continued_headers(const char *buf, uint32_t len, 
Http2StreamId id)
-{
-  DebugSsn(this->ua_session, "http2_cs", "[%" PRId64 "] Send CONTINUATION 
frame.", this->ua_session->connection_id());
-
-  if (buf && len > 0) {
-    if (!continued_buffer.iov_base) {
-      continued_buffer.iov_base = static_cast<uint8_t *>(ats_malloc(len));
-    } else if (continued_buffer.iov_len < len) {
-      continued_buffer.iov_base = ats_realloc(continued_buffer.iov_base, len);
-    }
-    continued_buffer.iov_len = len;
-
-    memcpy(continued_buffer.iov_base, buf, continued_buffer.iov_len);
-  }
-
-  continued_id = id;
-}
-
-void
-Http2ConnectionState::finish_continued_headers()
-{
-  continued_id = 0;
-  ats_free(continued_buffer.iov_base);
-  continued_buffer.iov_base = NULL;
-  continued_buffer.iov_len = 0;
-}
-
-void
 Http2ConnectionState::delete_stream(Http2Stream *stream)
 {
   stream_list.remove(stream);

Reply via email to