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 2022/01/18 15:42:42 UTC
[trafficserver] branch 9.2.x updated: Propagate accept options to HTTP/2 (#8594)
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.2.x by this push:
new 6de4af5 Propagate accept options to HTTP/2 (#8594)
6de4af5 is described below
commit 6de4af5516bd1693e6351e53fb01e4dbb910110d
Author: Susan Hinrichs <sh...@gmail.com>
AuthorDate: Tue Jan 11 09:11:22 2022 -0600
Propagate accept options to HTTP/2 (#8594)
(cherry picked from commit 0716c2ec8adcde09cd0fb2f39e04c1dcdc968217)
---
proxy/http2/Http2Stream.cc | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/proxy/http2/Http2Stream.cc b/proxy/http2/Http2Stream.cc
index a2fab9a..a453c23 100644
--- a/proxy/http2/Http2Stream.cc
+++ b/proxy/http2/Http2Stream.cc
@@ -46,11 +46,12 @@ Http2Stream::Http2Stream(ProxySession *session, Http2StreamId sid, ssize_t initi
this->mark_milestone(Http2StreamMilestone::OPEN);
- this->_sm = nullptr;
- this->_id = sid;
- this->_thread = this_ethread();
- this->_client_rwnd = initial_rwnd;
- this->_server_rwnd = Http2::initial_window_size;
+ this->_sm = nullptr;
+ this->_id = sid;
+ this->_thread = this_ethread();
+ this->_client_rwnd = initial_rwnd;
+ this->_server_rwnd = Http2::initial_window_size;
+ this->upstream_outbound_options = *(session->accept_options);
this->_reader = this->_request_buffer.alloc_reader();