table of contents
other versions
- stretch 7.0.0-6+deb9u2
- testing 8.0.2+ds-1
- stretch-backports 7.1.6+ds-1~bpo9+2
- unstable 8.0.3+ds-2
TSHTTPTXNISINTERNAL(3ts) | Apache Traffic Server | TSHTTPTXNISINTERNAL(3ts) |
NAME¶
TSHttpTxnIsInternal - test whether a request is internally-generatedSYNOPSIS¶
#include <ts/ts.h>- int TSHttpTxnIsInternal(TSHttpTxn txnp)
- int TSHttpSsnIsInternal(TSHttpSsn ssnp)
DESCRIPTION¶
TSHttpTxnIsInternal() tests whether a HTTP transaction was originated within Traffic Server.TSHttpSsnIsInternal() tests whether a HTTP session was originated within Traffic Server.
RETURN VALUES¶
Both these APIs return a int, indicating whether the request was internal (1) or not (0).EXAMPLES¶
The ESI plugin uses TSHttpTxnIsInternal() to ignore requests that is had generated while fetching portions of an ESI document:SEE ALSO¶
TSAPI(3ts)COPYRIGHT¶
2018, dev@trafficserver.apache.orgAugust 29, 2018 | 7.0 |