trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject [2/2] git commit: TS-2195: Deprecate experimental TSHttpTxnCacheLookupSkip API
Date Mon, 09 Sep 2013 22:53:07 GMT
TS-2195: Deprecate experimental TSHttpTxnCacheLookupSkip API

TSHttpTxnCacheLookupSkip() is in experimental, but can be implemented
by stable API; TSHttpTxnConfigIntSet(txn, TS_CONFIG_HTTP_CACHE_HTTP, 0).


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

Branch: refs/heads/master
Commit: a061d7ca88eb090e3dffe874167c02e4c001301e
Parents: ddf36d2
Author: James Peach <jpeach@apache.org>
Authored: Mon Sep 9 15:49:36 2013 -0700
Committer: James Peach <jpeach@apache.org>
Committed: Mon Sep 9 15:52:32 2013 -0700

----------------------------------------------------------------------
 CHANGES                     | 2 ++
 proxy/api/ts/experimental.h | 5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a061d7ca/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index fd4076f..faa6402 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,8 @@
 Changes with Apache Traffic Server 4.1.0
 
 
+  *) [TS-2195] Deprecate experimental TSHttpTxnCacheLookupSkip API.
+
   *) [TS-2176] Do not reset value of api_skip_cache_lookup when reading it.
     Author: Corey Cossentino <corey@omniti.com>
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a061d7ca/proxy/api/ts/experimental.h
----------------------------------------------------------------------
diff --git a/proxy/api/ts/experimental.h b/proxy/api/ts/experimental.h
index 9a92507..f13edab 100644
--- a/proxy/api/ts/experimental.h
+++ b/proxy/api/ts/experimental.h
@@ -183,11 +183,14 @@ extern "C"
    ****************************************************************************/
   tsapi TSReturnCode TSHttpTxnCacheLookupCountGet(TSHttpTxn txnp, int *lookup_count);
   tsapi TSReturnCode TSHttpTxnRedirectRequest(TSHttpTxn txnp, TSMBuffer bufp, TSMLoc url_loc);
-  tsapi TSReturnCode TSHttpTxnCacheLookupSkip(TSHttpTxn txnp);
   tsapi TSReturnCode TSHttpTxnServerRespIgnore(TSHttpTxn txnp);
   tsapi TSReturnCode TSHttpTxnShutDown(TSHttpTxn txnp, TSEvent event);
   tsapi TSReturnCode TSHttpTxnCloseAfterResponse(TSHttpTxn txnp, int should_close);
 
+  // TS-2195: TSHttpTxnCacheLookupSkip() is deprecated, because TSHttpTxnConfigIntSet(txn,
TS_CONFIG_HTTP_CACHE_HTTP, 0)
+  // does the same thing, but better. TSHttpTxnCacheLookupSkip will be removed in TrafficServer
5.0.
+  tsapi TS_DEPRECATED TSReturnCode TSHttpTxnCacheLookupSkip(TSHttpTxn txnp);
+
   // TS-1996: These API swill be removed after v3.4.0 is cut. Do not use them!
   tsapi TSReturnCode TSHttpTxnNewCacheLookupDo(TSHttpTxn txnp, TSMBuffer bufp, TSMLoc url_loc);
   tsapi TSReturnCode TSHttpTxnSecondUrlTryLock(TSHttpTxn txnp);


Mime
View raw message