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 2018/06/17 14:23:48 UTC

[trafficserver] branch 8.0.x updated: Removes the old TSRedirectUrlGet API, deprecated

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/8.0.x by this push:
     new 9e0cff8  Removes the old TSRedirectUrlGet API, deprecated
9e0cff8 is described below

commit 9e0cff828c3d30dba92ff84550c65f33df3817c8
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Sat Jun 16 07:43:08 2018 -0600

    Removes the old TSRedirectUrlGet API, deprecated
    
    (cherry picked from commit aafd3a2c13b3d3721fbafdf246373768e894a613)
---
 proxy/api/ts/ts.h            | 2 --
 src/traffic_server/InkAPI.cc | 7 -------
 2 files changed, 9 deletions(-)

diff --git a/proxy/api/ts/ts.h b/proxy/api/ts/ts.h
index cc1a507..a77155c 100644
--- a/proxy/api/ts/ts.h
+++ b/proxy/api/ts/ts.h
@@ -2308,8 +2308,6 @@ tsapi void TSHttpTxnRedirectUrlSet(TSHttpTxn txnp, const char *url, const int ur
    @return the url string
 */
 tsapi const char *TSHttpTxnRedirectUrlGet(TSHttpTxn txnp, int *url_len_ptr);
-/*   This is deprecated as of v5.0.0. */
-tsapi TS_DEPRECATED const char *TSRedirectUrlGet(TSHttpTxn txnp, int *url_len_ptr);
 
 /**
    Return the number of redirection retries we have done. This starts off
diff --git a/src/traffic_server/InkAPI.cc b/src/traffic_server/InkAPI.cc
index 58474c0..1491c53 100644
--- a/src/traffic_server/InkAPI.cc
+++ b/src/traffic_server/InkAPI.cc
@@ -7566,13 +7566,6 @@ TSHttpTxnRedirectUrlGet(TSHttpTxn txnp, int *url_len_ptr)
   return sm->redirect_url;
 }
 
-// Deprecated, remove for v6.0.0
-const char *
-TSRedirectUrlGet(TSHttpTxn txnp, int *url_len_ptr)
-{
-  return TSHttpTxnRedirectUrlGet(txnp, url_len_ptr);
-}
-
 int
 TSHttpTxnRedirectRetries(TSHttpTxn txnp)
 {

-- 
To stop receiving notification emails like this one, please contact
zwoop@apache.org.