SHOW_FLAG(f, TX_NOT_FIRST);
SHOW_FLAG(f, TX_USE_PX_CONN);
- SHOW_FLAG(f, TX_WAIT_NEXT_RQ);
SHOW_FLAG(f, TX_CON_WANT_TUN);
SHOW_FLAG(f, TX_CACHE_COOK);
#define TX_CON_WANT_TUN 0x00008000 /* Will be a tunnel (CONNECT or 101-Switching-Protocol) */
-#define TX_WAIT_NEXT_RQ 0x00010000 /* waiting for the second request to start, use keep-alive timeout */
+/* unsued 0x00010000 */
#define TX_USE_PX_CONN 0x00020000 /* Use "Proxy-Connection" instead of "Connection" */
proxy_inc_fe_req_ctr(sess->listener, sess->fe); /* one more valid request for this FE */
/* kill the pending keep-alive timeout */
- txn->flags &= ~TX_WAIT_NEXT_RQ;
req->analyse_exp = TICK_ETERNITY;
BUG_ON(htx_get_first_type(htx) != HTX_BLK_REQ_SL);
end:
s->res.wex = tick_add_ifset(now_ms, s->res.wto);
- s->txn->flags &= ~TX_WAIT_NEXT_RQ;
channel_auto_read(&s->req);
channel_abort(&s->req);
struct http_txn *txn = s->txn;
struct conn_stream *cs = objt_cs(s->si[0].end);
- txn->flags = ((cs && cs->flags & CS_FL_NOT_FIRST)
- ? (TX_NOT_FIRST|TX_WAIT_NEXT_RQ)
- : 0);
+ txn->flags = ((cs && cs->flags & CS_FL_NOT_FIRST) ? TX_NOT_FIRST : 0);
txn->status = -1;
txn->http_reply = NULL;
write_u32(txn->cache_hash, 0);