This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new aafd3a2 Removes the old TSRedirectUrlGet API, deprecated
aafd3a2 is described below
commit aafd3a2c13b3d3721fbafdf246373768e894a613
Author: Leif Hedstrom <[email protected]>
AuthorDate: Sat Jun 16 07:43:08 2018 -0600
Removes the old TSRedirectUrlGet API, deprecated
---
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 4347255..c738491 100644
--- a/proxy/api/ts/ts.h
+++ b/proxy/api/ts/ts.h
@@ -2321,8 +2321,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 55e254c..0ef8960 100644
--- a/src/traffic_server/InkAPI.cc
+++ b/src/traffic_server/InkAPI.cc
@@ -7572,13 +7572,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
[email protected].