You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2013/08/30 18:20:26 UTC

[13/50] git commit: TS-2147: Set server_share_sessions to 1 for 'internal' transactions in rfc5861 plugin.

TS-2147: Set server_share_sessions to 1 for 'internal' transactions in rfc5861 plugin.


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

Branch: refs/heads/5.0.x
Commit: 145ed5ed4c483d33277940c5e62cd4914bbe0ae3
Parents: 6b9093b
Author: Jeff Elsloo <je...@gmail.com>
Authored: Thu Aug 22 10:09:56 2013 -0600
Committer: Phil Sorber <so...@apache.org>
Committed: Thu Aug 22 10:12:27 2013 -0600

----------------------------------------------------------------------
 CHANGES                                | 2 ++
 plugins/experimental/rfc5861/rfc5861.c | 1 +
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/145ed5ed/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index cadbb34..2d2e107 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,8 @@
 Changes with Apache Traffic Server 4.1.0
 
 
+  *) [TS-2147] Set server_share_sessions to 1 for 'internal' transactions in rfc5861 plugin.
+
   *) [TS-2107] split proxy.config.http.transaction_active_timeout_in to proxy.config.http.transaction_header_timeout_in
      and proxy.config.http.transaction_request_timeout_in.
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/145ed5ed/plugins/experimental/rfc5861/rfc5861.c
----------------------------------------------------------------------
diff --git a/plugins/experimental/rfc5861/rfc5861.c b/plugins/experimental/rfc5861/rfc5861.c
index 384aa91..7983690 100644
--- a/plugins/experimental/rfc5861/rfc5861.c
+++ b/plugins/experimental/rfc5861/rfc5861.c
@@ -569,6 +569,7 @@ rfc5861_plugin(TSCont cont, TSEvent event, void *edata)
             else
             {
                 TSDebug(LOG_PREFIX, "Internal Request"); // This is insufficient if there are other plugins using TSHttpConnect
+                TSHttpTxnConfigIntSet(txn, TS_CONFIG_HTTP_SHARE_SERVER_SESSIONS, 1);
                 //TSHttpTxnHookAdd(txn, TS_HTTP_CACHE_LOOKUP_COMPLETE_HOOK, cont);
                 TSHttpTxnHookAdd(txn, TS_HTTP_READ_RESPONSE_HDR_HOOK, cont);
                 // This might be needed in 3.2.0 to fix a timeout issue