Wrong implementation of TSHttpSsnArgGet ---------------------------------------
Key: TS-1055 URL: https://issues.apache.org/jira/browse/TS-1055 Project: Traffic Server Issue Type: Bug Components: TS API Affects Versions: 3.1.1 Reporter: Yakov Kopel Fix For: 3.1.1 There is a different between the interface of TSHttpSsnArgGet and it implemenation. In the interface (proxy/api/ts/ts.h.in): tsapi void* TSHttpSsnArgGet(TSHttpSsn ssnp, int arg_idx); In the implementation(proxy/InkAPI.cc): void * TSHttpSsnArgGet(TSHttpSsn ssnp, int arg_idx, void **argp) So, I wrote a simple patch to fix this problem: Index: InkAPI.cc =================================================================== --- InkAPI.cc (revision 1220421) +++ InkAPI.cc (working copy) @@ -5500,7 +5500,7 @@ } void * -TSHttpSsnArgGet(TSHttpSsn ssnp, int arg_idx, void **argp) +TSHttpSsnArgGet(TSHttpSsn ssnp, int arg_idx) { sdk_assert(sdk_sanity_check_http_ssn(ssnp) == TS_SUCCESS); sdk_assert(arg_idx >= 0 && arg_idx < HTTP_SSN_TXN_MAX_USER_ARG); -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira