You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2015/04/05 17:56:29 UTC

[1/2] trafficserver git commit: TS-3493 Grow window sizes as part of HTTP session setup

Repository: trafficserver
Updated Branches:
  refs/heads/master 3f311ce3a -> ede0f007d


TS-3493 Grow window sizes as part of HTTP session setup


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

Branch: refs/heads/master
Commit: 1d965ff469ede776012404cacd4c6e96fe76bf12
Parents: 3f311ce
Author: Masakazu Kitajo <m4...@gmail.com>
Authored: Sun Apr 5 09:55:24 2015 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Sun Apr 5 09:55:24 2015 -0600

----------------------------------------------------------------------
 proxy/http2/Http2ConnectionState.cc | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1d965ff4/proxy/http2/Http2ConnectionState.cc
----------------------------------------------------------------------
diff --git a/proxy/http2/Http2ConnectionState.cc b/proxy/http2/Http2ConnectionState.cc
index 9f90858..44efe2b 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -616,6 +616,12 @@ Http2ConnectionState::main_event_handler(int event, void *edata)
     settings.finalize(HTTP2_SETTINGS_PARAMETER_LEN * (HTTP2_SETTINGS_MAX - 1));
     this->ua_session->handleEvent(HTTP2_SESSION_EVENT_XMIT, &settings);
 
+    // TODO: 65535 is the initial window size comes from the HTTP2 spec.
+    //       It should be defined in somewhere.
+    if (server_settings.get(HTTP2_SETTINGS_INITIAL_WINDOW_SIZE) > 65535) {
+      send_window_update_frame(0, server_settings.get(HTTP2_SETTINGS_INITIAL_WINDOW_SIZE) - 65535);
+    }
+
     return 0;
   }
 


[2/2] trafficserver git commit: Added TS-3493

Posted by zw...@apache.org.
Added TS-3493


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

Branch: refs/heads/master
Commit: ede0f007d9d6058da059c14e4807ef9e1e7e6b37
Parents: 1d965ff
Author: Leif Hedstrom <zw...@apache.org>
Authored: Sun Apr 5 09:55:55 2015 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Sun Apr 5 09:56:10 2015 -0600

----------------------------------------------------------------------
 CHANGES | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ede0f007/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index a7b766c..7234f5c 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,11 +1,14 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 6.0.0
 
-  *) TS-3495: Accept empty header field value.
-   Author: Masakazu Kitajo <m4...@gmail.com>
+  *) [TS-3493] Grow window sizes as part of HTTP session setup.
+   Author: Masakazu Kitajo <m4...@gmail.com>.
+
+  *) [TS-3495] Accept empty header field value.
+   Author: Masakazu Kitajo <m4...@gmail.com>.
 
   *) [TS-3482] Fill the first SETTINGS frame correctly.
-   Author: Masakazu Kitajo <m4...@gmail.com>
+   Author: Masakazu Kitajo <m4...@gmail.com>.
 
   *) [TS-3491] background_fetch: Only release URL if we were scheduled.