break;
}
+ DPRINTF(stderr,"[%u] %s: stream=%p old=%d,%d cur=%d,%d\n",
+ now_ms, __FUNCTION__,
+ s,
+ old_req_state, old_res_state,
+ txn->req.msg_state, txn->rsp.msg_state);
+
+
/* OK, both state machines agree on a compatible state.
* There are a few cases we're interested in :
* - HTTP_MSG_TUNNEL on either means we have to disable both analysers
struct http_msg *msg = &s->txn->req;
int ret;
+ DPRINTF(stderr,"[%u] %s: stream=%p b=%p, exp(r,w)=%u,%u bf=%08x bh=%d analysers=%02x\n",
+ now_ms, __FUNCTION__,
+ s,
+ req,
+ req->rex, req->wex,
+ req->flags,
+ req->buf->i,
+ req->analysers);
+
if (unlikely(msg->msg_state < HTTP_MSG_BODY))
return 0;
struct http_msg *msg = &s->txn->rsp;
int ret;
+ DPRINTF(stderr,"[%u] %s: stream=%p b=%p, exp(r,w)=%u,%u bf=%08x bh=%d analysers=%02x\n",
+ now_ms, __FUNCTION__,
+ s,
+ res,
+ res->rex, res->wex,
+ res->flags,
+ res->buf->i,
+ res->analysers);
+
if (unlikely(msg->msg_state < HTTP_MSG_BODY))
return 0;