You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2014/01/23 14:21:10 UTC

[1/3] git commit: TS-2419: Don't close client connection when responding with a 204 and there is no body - Fixed a bug when the 204 is served by cache

Updated Branches:
  refs/heads/master 27e8fb914 -> 6af64a9d2


TS-2419: Don't close client connection when responding with a 204 and
there is no body - Fixed a bug when the 204 is served by cache


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

Branch: refs/heads/master
Commit: a5c00b225cb8e408cf7f1b117185e1a2bb3d11dc
Parents: e876654
Author: Bryan Call <bc...@apache.org>
Authored: Thu Jan 23 14:15:08 2014 +0100
Committer: Bryan Call <bc...@apache.org>
Committed: Thu Jan 23 14:15:08 2014 +0100

----------------------------------------------------------------------
 proxy/http/HttpTransact.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a5c00b22/proxy/http/HttpTransact.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index f09e50a..3f83952 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -6753,7 +6753,8 @@ HttpTransact::handle_response_keep_alive_headers(State* s, HTTPVersion ver, HTTP
     ka_action = KA_DISABLED;
   }
   else if (heads->status_get() == HTTP_STATUS_NO_CONTENT &&
-      (s->current.server->transfer_encoding != NO_TRANSFER_ENCODING || heads->get_content_length() != 0)) {
+      (s->source == SOURCE_HTTP_ORIGIN_SERVER && s->current.server->transfer_encoding != NO_TRANSFER_ENCODING
+       || heads->get_content_length() != 0)) {
     // some systems hang until the connection closes when receiving a 204 regardless of the K-A headers
     // close if there is any body response from the origin
     ka_action = KA_CLOSE;


[2/3] git commit: Reorder the build subdirs, such that all code compiles first

Posted by bc...@apache.org.
Reorder the build subdirs, such that all code compiles first


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

Branch: refs/heads/master
Commit: 38f0f0c2b9c3b4c1a74db9c2087046a8137169e8
Parents: a5c00b2
Author: Leif Hedstrom <zw...@apache.org>
Authored: Thu Jan 23 05:45:23 2014 -0700
Committer: Bryan Call <bc...@apache.org>
Committed: Thu Jan 23 14:19:21 2014 +0100

----------------------------------------------------------------------
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/38f0f0c2/Makefile.am
----------------------------------------------------------------------
diff --git a/Makefile.am b/Makefile.am
index 0ad9b06..398f300 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -29,7 +29,7 @@ export CCACHE_BASEDIR
 # proxy/api/ts has to be built first, since so much of libraries and "core
 # depends on the generates ts/ts.h include file.
 
-SUBDIRS =  proxy/api/ts iocore lib proxy/hdrs proxy/shared mgmt proxy rc doc plugins cmd tools example
+SUBDIRS =  proxy/api/ts iocore lib proxy/hdrs proxy/shared mgmt proxy cmd plugins tools example rc doc
 
 
 DIST_BUILD_USER=`id -nu`


[3/3] git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/trafficserver

Posted by bc...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/trafficserver


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

Branch: refs/heads/master
Commit: 6af64a9d23c8f42d8082a9f44f19e354c99865b6
Parents: 38f0f0c 27e8fb9
Author: Bryan Call <bc...@apache.org>
Authored: Thu Jan 23 14:20:39 2014 +0100
Committer: Bryan Call <bc...@apache.org>
Committed: Thu Jan 23 14:20:39 2014 +0100

----------------------------------------------------------------------

----------------------------------------------------------------------