From 8e11255d4f4b9d0120c60f09578bdde887640774 Mon Sep 17 00:00:00 2001 From: Susan Hinrichs Date: Mon, 10 Jan 2022 10:18:34 -0600 Subject: [PATCH] Propagate accept options to HTTP/2 --- 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 a2fab9abe00..a453c237790 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();