Repository: trafficserver
Updated Branches:
  refs/heads/master a22f6436c -> baf2d759c


TS-3917: Sending only SETTINGS_INITIAL_WINDOW_SIZE in

This closes #471


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

Branch: refs/heads/master
Commit: baf2d759cd9e2c8de0e17154a7cf4c2c55ba9018
Parents: a22f643
Author: Bryan Call <[email protected]>
Authored: Thu Feb 11 21:17:58 2016 -0800
Committer: Bryan Call <[email protected]>
Committed: Thu Feb 11 21:17:58 2016 -0800

----------------------------------------------------------------------
 proxy/http2/HTTP2.cc | 2 +-
 proxy/http2/HTTP2.h  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/baf2d759/proxy/http2/HTTP2.cc
----------------------------------------------------------------------
diff --git a/proxy/http2/HTTP2.cc b/proxy/http2/HTTP2.cc
index 2f1dffd..5cb9d79 100644
--- a/proxy/http2/HTTP2.cc
+++ b/proxy/http2/HTTP2.cc
@@ -727,7 +727,7 @@ http2_decode_header_blocks(HTTPHdr *hdr, const uint8_t 
*buf_start, const uint8_t
 }
 
 // Initialize this subsystem with librecords configs (for now)
-uint32_t Http2::max_concurrent_streams = 4294967295;
+uint32_t Http2::max_concurrent_streams = 100;
 uint32_t Http2::initial_window_size = 1048576;
 uint32_t Http2::max_frame_size = 16384;
 uint32_t Http2::header_table_size = 4096;

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/baf2d759/proxy/http2/HTTP2.h
----------------------------------------------------------------------
diff --git a/proxy/http2/HTTP2.h b/proxy/http2/HTTP2.h
index ebac76f..10e22e3 100644
--- a/proxy/http2/HTTP2.h
+++ b/proxy/http2/HTTP2.h
@@ -54,7 +54,7 @@ const size_t HTTP2_SETTINGS_PARAMETER_LEN = 6;
 // SETTINGS initial values. NOTE: These should not be modified
 // unless the protocol changes! Do not change this thinking you
 // are changing server defaults. that is done via RecordsConfig.cc
-const uint32_t HTTP2_MAX_CONCURRENT_STREAMS = 100;
+const uint32_t HTTP2_MAX_CONCURRENT_STREAMS = UINT_MAX;
 const uint32_t HTTP2_INITIAL_WINDOW_SIZE = 65535;
 const uint32_t HTTP2_MAX_FRAME_SIZE = 16384;
 const uint32_t HTTP2_HEADER_TABLE_SIZE = 4096;

Reply via email to