Repository: trafficserver
Updated Branches:
  refs/heads/master 50703613f -> be14b5ced


TS-4209: Limit concurrent streams correctly

This closes #480


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

Branch: refs/heads/master
Commit: be14b5ced3a47beaa6e8cd8cec86f70b00388f5a
Parents: 5070361
Author: Masaori Koshiba <masa...@apache.org>
Authored: Tue Feb 16 10:48:19 2016 +0900
Committer: Masaori Koshiba <masa...@apache.org>
Committed: Wed Feb 17 10:54:40 2016 +0900

----------------------------------------------------------------------
 proxy/http2/Http2ConnectionState.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/be14b5ce/proxy/http2/Http2ConnectionState.cc
----------------------------------------------------------------------
diff --git a/proxy/http2/Http2ConnectionState.cc 
b/proxy/http2/Http2ConnectionState.cc
index 4a5c0a4..c578e25 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -829,7 +829,7 @@ Http2ConnectionState::create_stream(Http2StreamId new_id)
   // Endpoints MUST NOT exceed the limit set by their peer.  An endpoint
   // that receives a HEADERS frame that causes their advertised concurrent
   // stream limit to be exceeded MUST treat this as a stream error.
-  if (client_streams_count >= 
client_settings.get(HTTP2_SETTINGS_MAX_CONCURRENT_STREAMS)) {
+  if (client_streams_count >= 
server_settings.get(HTTP2_SETTINGS_MAX_CONCURRENT_STREAMS)) {
     return NULL;
   }
 

Reply via email to