Commit 96904623 authored by Nils Goroll's avatar Nils Goroll Committed by Lasse Karstensen

req->task members must be set in case we get onto the waitinglist

Fixes #1928

Conflicts:
	bin/varnishd/http1/cache_http1_fsm.c
parent ae16ab8e
......@@ -264,11 +264,15 @@ HTTP1_Session(struct worker *wrk, struct req *req)
break;
case S_STP_H1PROC:
req->transport = &http1_transport;
req->task.func = SES_Proto_Req;
req->task.priv = req;
if (CNT_Request(wrk, req) == REQ_FSM_DISEMBARK) {
sp->sess_step = S_STP_H1BUSY;
return;
}
req->transport = NULL;
req->task.func = NULL;
req->task.priv = NULL;
sp->sess_step = S_STP_H1CLEANUP;
break;
case S_STP_H1CLEANUP:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment