TSHttpTxnIsInternal

    int (TSHttpTxn txnp)

    tests whether a HTTP transaction was originated within Traffic Server.

    Both these APIs return a , indicating whether the request was internal (1) or not (0).

    1. if (Utils::areEqual(name, name_len, TS_MIME_FIELD_EXPIRES, TS_MIME_LEN_EXPIRES)) {
    2. if ((value_len == 1) && (*value == '0')) {

    TSAPI(3ts)