trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject svn commit: r1197133 - in /trafficserver/traffic/trunk: CHANGES proxy/http/HttpSM.cc proxy/http/HttpTransact.cc
Date Thu, 03 Nov 2011 14:25:17 GMT
Author: zwoop
Date: Thu Nov  3 14:25:16 2011
New Revision: 1197133

URL: http://svn.apache.org/viewvc?rev=1197133&view=rev
Log:
TS-1004 Transformation plugins cause connection close when content
length is not known ahead.

Author: Otto van der Schaaf.

Modified:
    trafficserver/traffic/trunk/CHANGES
    trafficserver/traffic/trunk/proxy/http/HttpSM.cc
    trafficserver/traffic/trunk/proxy/http/HttpTransact.cc

Modified: trafficserver/traffic/trunk/CHANGES
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/CHANGES?rev=1197133&r1=1197132&r2=1197133&view=diff
==============================================================================
--- trafficserver/traffic/trunk/CHANGES (original)
+++ trafficserver/traffic/trunk/CHANGES Thu Nov  3 14:25:16 2011
@@ -1,15 +1,21 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 3.1.1
-  *) TS-989 Logging is now IPv6 compatible.
+  *) [TS-1004] Transformation plugins cause connection close when content
+   length is not known ahead. Author: Otto van der Schaaf.
 
-  *) TS-1009 Disable starting ICP continuations if ICP is not enabled.
+  *) [TS-1011] Fixes for OpenSSL, specifically triggered for Solaris, but
+   generally broken assumptions in the old code.
 
-  *) TS-1005 Use traffic_line for reload option with RC script.
+  *) [TS-989] Logging is now IPv6 compatible.
+
+  *) [TS-1009] Disable starting ICP continuations if ICP is not enabled.
+
+  *) [TS-1005] Use traffic_line for reload option with RC script.
    Author: Jan-Frode Myklebust.
 
-  *) TS-984 - Log roll crash fixed.
+  *) [TS-984] Log roll crash fixed.
 
-  *) TS-997 ATS crashes on remap plugin initialization failure.
+  *) [TS-997] ATS crashes on remap plugin initialization failure.
    Author: Manjesh Nilange.
 
   *) [TS-988] Updated ICP for IPv6.

Modified: trafficserver/traffic/trunk/proxy/http/HttpSM.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/http/HttpSM.cc?rev=1197133&r1=1197132&r2=1197133&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/http/HttpSM.cc (original)
+++ trafficserver/traffic/trunk/proxy/http/HttpSM.cc Thu Nov  3 14:25:16 2011
@@ -5636,6 +5636,10 @@ HttpSM::setup_transfer_from_transform()
   transform_info.entry->in_tunnel = true;
   ua_entry->in_tunnel = true;
 
+  if ( t_state.client_info.receive_chunked_response ) {
+    tunnel.set_producer_chunking_action(p, client_response_hdr_bytes, TCA_CHUNK_CONTENT);
+  }
+
   return p;
 }
 

Modified: trafficserver/traffic/trunk/proxy/http/HttpTransact.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/http/HttpTransact.cc?rev=1197133&r1=1197132&r2=1197133&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/http/HttpTransact.cc (original)
+++ trafficserver/traffic/trunk/proxy/http/HttpTransact.cc Thu Nov  3 14:25:16 2011
@@ -7006,7 +7006,7 @@ HttpTransact::handle_response_keep_alive
         !is_response_body_precluded(s->hdr_info.client_response.status_get(), s->method)
&&
          // we do not need chunked encoding for internal error messages
          // that are sent to the client if the server response is not valid.
-         ((s->source == SOURCE_HTTP_ORIGIN_SERVER &&
+         (( (s->source == SOURCE_HTTP_ORIGIN_SERVER || s->source == SOURCE_TRANSFORM)
&&
          s->hdr_info.server_response.valid() &&
          // if we receive a 304, we will serve the client from the
          // cache and thus do not need chunked encoding.



Mime
View raw message