diff --git a/src/client.c b/src/client.c index 9498b138d..814619012 100644 --- a/src/client.c +++ b/src/client.c @@ -238,6 +238,8 @@ int event_accept(int fd) { txn->rsp.msg_state = HTTP_MSG_RPBEFORE; /* at the very beginning of the response */ txn->req.sol = txn->req.eol = NULL; txn->req.som = txn->req.eoh = 0; /* relative to the buffer */ + txn->rsp.sol = txn->rsp.eol = NULL; + txn->rsp.som = txn->rsp.eoh = 0; /* relative to the buffer */ txn->auth_hdr.len = -1; if (p->nb_req_cap > 0) {