trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject git commit: TS-1155: POST requests that are chunked encoding hang when going forward to origin over SSL
Date Mon, 25 Feb 2013 22:33:30 GMT
Updated Branches:
  refs/heads/master 8a9ad2052 -> 93e14b254


TS-1155: POST requests that are chunked encoding hang when going forward to origin over SSL


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

Branch: refs/heads/master
Commit: 93e14b254b5a2a834f708cff71fa8dd7223791d3
Parents: 8a9ad20
Author: William Bardwell <wbardwel@apache.org>
Authored: Mon Feb 25 14:32:37 2013 -0800
Committer: James Peach <jpeach@apache.org>
Committed: Mon Feb 25 14:32:37 2013 -0800

----------------------------------------------------------------------
 CHANGES                    |    3 +++
 proxy/http/HttpTransact.cc |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/93e14b25/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 8745fd0..d3caca1 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@
 Changes with Apache Traffic Server 3.3.1
 
 
+  *) [TS-1155] POST requests that are chunked encoding hang when going
+  forward to origin over SSL
+
   *) [TS-1634] reimplement Lua state management to support reload
 
   *) [TS-1716] authproxy fails to reserve an argument index in global mode

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/93e14b25/proxy/http/HttpTransact.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 24948fa..0a4bfe7 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -5285,7 +5285,7 @@ HttpTransact::RequestError_t HttpTransact::check_request_validity(State*
s, HTTP
 
     if ((scheme == URL_WKSIDX_HTTP || scheme == URL_WKSIDX_HTTPS) &&
         (method == HTTP_WKSIDX_POST || method == HTTP_WKSIDX_PUSH || method == HTTP_WKSIDX_PUT))
{
-      if (scheme == URL_WKSIDX_HTTP && !incoming_hdr->presence(MIME_PRESENCE_CONTENT_LENGTH))
{
+      if (!incoming_hdr->presence(MIME_PRESENCE_CONTENT_LENGTH)) {
         bool chunked_encoding = false;
 
         if (incoming_hdr->presence(MIME_PRESENCE_TRANSFER_ENCODING)) {


Mime
View raw message