You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2013/02/25 23:33:30 UTC

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

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 <wb...@apache.org>
Authored: Mon Feb 25 14:32:37 2013 -0800
Committer: James Peach <jp...@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)) {