You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2015/06/02 06:08:22 UTC

[2/9] trafficserver git commit: TS-3590: Mark H2 fetch streams as non-internal requests

TS-3590: Mark H2 fetch streams as non-internal requests

(cherry picked from commit 74917a371bb29a2aff72b6af1eeed441d370fd48)
(cherry picked from commit 372e03077e23aced3f87a94a6b13aecaf5569205)

Conflicts:
        CHANGES


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

Branch: refs/heads/5.3.x
Commit: 6592b457511ba3c19a5b86d5236fe233a52ea88f
Parents: 78c5561
Author: Sudheer Vinukonda <su...@yahoo-inc.com>
Authored: Sat May 9 01:37:33 2015 +0000
Committer: Phil Sorber <so...@apache.org>
Committed: Mon Jun 1 21:24:56 2015 -0600

----------------------------------------------------------------------
 CHANGES                             | 2 ++
 proxy/http2/Http2ConnectionState.cc | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/6592b457/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 2761018..2b8dfbd 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 5.3.1
 
+  *) [TS-3590] Mark H2 fetch streams as non-internal requests.
+
   *) [TS-3504] Only read "proxy.config.cache.ram_cache.use_seen_filter" once.
     Do not set up a callback.
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/6592b457/proxy/http2/Http2ConnectionState.cc
----------------------------------------------------------------------
diff --git a/proxy/http2/Http2ConnectionState.cc b/proxy/http2/Http2ConnectionState.cc
index a63f4fd..8d7ec7d 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -1005,7 +1005,7 @@ Http2Stream::init_fetcher(Http2ConnectionState &cstate)
   // Initialize FetchSM
   _fetch_sm = FetchSMAllocator.alloc();
   _fetch_sm->ext_init((Continuation *)cstate.ua_session, method, url, HTTP2_FETCHING_HTTP_VERSION,
-                      cstate.ua_session->get_client_addr(), TS_FETCH_FLAGS_DECHUNK);
+                      cstate.ua_session->get_client_addr(), (TS_FETCH_FLAGS_DECHUNK | TS_FETCH_FLAGS_NOT_INTERNAL_REQUEST));
 
   // Set request header
   MIMEFieldIter fiter;