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 2017/11/30 17:16:47 UTC
[trafficserver] branch 7.1.x updated: Fix crash from
HttpSM::setup_100_continue_transfer
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/7.1.x by this push:
new 215ee8e Fix crash from HttpSM::setup_100_continue_transfer
215ee8e is described below
commit 215ee8ef212745a6031c9c8ad41175c3e2f5fbd8
Author: Susan Hinrichs <sh...@apache.org>
AuthorDate: Mon Nov 27 16:46:46 2017 -0600
Fix crash from HttpSM::setup_100_continue_transfer
(cherry picked from commit 7a3ab0ca39109d67cafadac6754c55a8724f9b25)
---
proxy/http/HttpSM.cc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index 9479283..5a90847 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -6230,6 +6230,10 @@ HttpSM::setup_100_continue_transfer()
HTTP_SM_SET_DEFAULT_HANDLER(&HttpSM::tunnel_handler_100_continue);
+ // Clear the decks before we set up new producers. As things stand, we cannot have two static operators
+ // at once
+ tunnel.reset();
+
// Setup the tunnel to the client
HttpTunnelProducer *p = tunnel.add_producer(HTTP_TUNNEL_STATIC_PRODUCER, client_response_hdr_bytes, buf_start,
(HttpProducerHandler) nullptr, HT_STATIC, "internal msg - 100 continue");
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].