trafficserver git commit: Remove unused open_read_buffer and open_write_buffer

2015-03-13 Thread jpeach
Repository: trafficserver
Updated Branches:
  refs/heads/master 269b89f72 - 6a1bab81a


Remove unused open_read_buffer and open_write_buffer


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

Branch: refs/heads/master
Commit: 6a1bab81a1f6d97289efb1ffa4ebc95a1038b419
Parents: 269b89f
Author: James Peach jpe...@apache.org
Authored: Fri Mar 13 22:09:26 2015 -0700
Committer: James Peach jpe...@apache.org
Committed: Fri Mar 13 22:15:54 2015 -0700

--
 iocore/cache/I_Cache.h | 15 --
 iocore/cache/P_CacheInternal.h | 60 -
 2 files changed, 75 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/6a1bab81/iocore/cache/I_Cache.h
--
diff --git a/iocore/cache/I_Cache.h b/iocore/cache/I_Cache.h
index 1606a23..69fa156 100644
--- a/iocore/cache/I_Cache.h
+++ b/iocore/cache/I_Cache.h
@@ -84,9 +84,6 @@ struct CacheProcessor:public Processor
 CacheFragType frag_type = CACHE_FRAG_TYPE_NONE, 
char *hostname = 0, int host_len = 0);
   inkcoreapi Action *open_read(Continuation *cont, CacheKey *key, bool 
cluster_cache_local,
CacheFragType frag_type = CACHE_FRAG_TYPE_NONE, 
char *hostname = 0, int host_len = 0);
-  Action *open_read_buffer(Continuation *cont, MIOBuffer *buf, CacheKey *key,
-   CacheFragType frag_type = CACHE_FRAG_TYPE_NONE, 
char *hostname = 0, int host_len = 0);
-
   inkcoreapi Action *open_write(Continuation *cont,
 CacheKey *key,
 bool cluster_cache_local,
@@ -95,12 +92,6 @@ struct CacheProcessor:public Processor
 int options = 0,
 time_t pin_in_cache = (time_t) 0,
 char *hostname = 0, int host_len = 0);
-  Action *open_write_buffer(Continuation *cont, MIOBuffer *buf,
-CacheKey *key,
-CacheFragType frag_type = CACHE_FRAG_TYPE_NONE,
-int options = 0,
-time_t pin_in_cache = (time_t) 0,
-char *hostname = 0, int host_len = 0);
   inkcoreapi Action *remove(Continuation *cont, CacheKey *key,
 bool cluster_cache_local,
 CacheFragType frag_type = CACHE_FRAG_TYPE_NONE,
@@ -115,15 +106,9 @@ struct CacheProcessor:public Processor
CacheHTTPHdr *request,
CacheLookupHttpConfig *params,
time_t pin_in_cache = (time_t) 0, CacheFragType 
frag_type = CACHE_FRAG_TYPE_HTTP);
-  Action *open_read_buffer(Continuation *cont, MIOBuffer *buf, URL *url,
-   CacheHTTPHdr *request,
-   CacheLookupHttpConfig *params, CacheFragType 
frag_type = CACHE_FRAG_TYPE_HTTP);
   Action *open_write(Continuation *cont, int expected_size, URL *url, bool 
cluster_cache_local,
  CacheHTTPHdr *request, CacheHTTPInfo *old_info,
  time_t pin_in_cache = (time_t) 0, CacheFragType frag_type 
= CACHE_FRAG_TYPE_HTTP);
-  Action *open_write_buffer(Continuation *cont, MIOBuffer *buf, URL *url,
-CacheHTTPHdr *request, CacheHTTPHdr *response,
-CacheFragType frag_type = CACHE_FRAG_TYPE_HTTP);
   Action *remove(Continuation *cont, URL *url, bool cluster_cache_local, 
CacheFragType frag_type = CACHE_FRAG_TYPE_HTTP);
 
   Action *open_read_internal(int, Continuation *, MIOBuffer *, CacheURL *,

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/6a1bab81/iocore/cache/P_CacheInternal.h
--
diff --git a/iocore/cache/P_CacheInternal.h b/iocore/cache/P_CacheInternal.h
index 385ac22..438c66a 100644
--- a/iocore/cache/P_CacheInternal.h
+++ b/iocore/cache/P_CacheInternal.h
@@ -1155,21 +1155,6 @@ CacheProcessor::open_read(Continuation *cont, CacheKey 
*key, bool cluster_cache_
   return caches[frag_type]-open_read(cont, key, frag_type, hostname, 
host_len);
 }
 
-TS_INLINE Action *
-CacheProcessor::open_read_buffer(Continuation *cont, MIOBuffer *buf 
ATS_UNUSED, CacheKey *key, CacheFragType frag_type,
- char *hostname, int host_len)
-{
-#ifdef CLUSTER_CACHE
-  if (cache_clustering_enabled  0) {
-return open_read_internal(CACHE_OPEN_READ_BUFFER, cont, buf,
-  

[1/2] trafficserver git commit: TS-3439: Chunked responses don't honor keep-alive

2015-03-13 Thread briang
Repository: trafficserver
Updated Branches:
  refs/heads/master a6be9807a - 269b89f72


TS-3439: Chunked responses don't honor keep-alive


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

Branch: refs/heads/master
Commit: d129f31402abf99431ad4a3dea5429e6aeb31b58
Parents: a6be980
Author: Brian Geffon bri...@apache.org
Authored: Fri Mar 13 15:52:06 2015 -0700
Committer: Brian Geffon bri...@apache.org
Committed: Fri Mar 13 15:52:06 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/d129f314/proxy/http/HttpSM.cc
--
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index bdbe1d0..80c9bc5 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -2904,7 +2904,8 @@ HttpSM::tunnel_handler_server(int event, 
HttpTunnelProducer * p)
   bool close_connection = false;
 
   if (t_state.current.server-keep_alive == HTTP_KEEPALIVE 
-  server_entry-eos == false  plugin_tunnel_type == 
HTTP_NO_PLUGIN_TUNNEL) {
+  server_entry-eos == false  plugin_tunnel_type == 
HTTP_NO_PLUGIN_TUNNEL 
+  t_state.txn_conf-keep_alive_enabled_out == 1) {
 close_connection = false;
   } else {
 close_connection = true;



[2/2] trafficserver git commit: TS-3439: Chunked responses don't honor keep-alive: UPDATE CHANGES

2015-03-13 Thread briang
TS-3439: Chunked responses don't honor keep-alive: UPDATE CHANGES


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

Branch: refs/heads/master
Commit: 269b89f7231240ee1fcdc42b520cd340dd14b589
Parents: d129f31
Author: Brian Geffon bri...@apache.org
Authored: Fri Mar 13 15:52:28 2015 -0700
Committer: Brian Geffon bri...@apache.org
Committed: Fri Mar 13 15:52:28 2015 -0700

--
 CHANGES | 2 ++
 1 file changed, 2 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/269b89f7/CHANGES
--
diff --git a/CHANGES b/CHANGES
index cc83148..39463fa 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
  -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 5.3.0
 
+  *) [TS-3439] Chunked responses don't honor keep-alive
+ 
   *) [TS-3437] Make DH params configurable
 
   *) [TS-3342] Non-standard method in bad request can cause crash