Commit fac6316c authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

We never start the main request FSM with an error code.

parent 49fc3653
...@@ -566,6 +566,7 @@ cnt_recv(struct worker *wrk, struct req *req) ...@@ -566,6 +566,7 @@ cnt_recv(struct worker *wrk, struct req *req)
CHECK_OBJ_NOTNULL(req, REQ_MAGIC); CHECK_OBJ_NOTNULL(req, REQ_MAGIC);
CHECK_OBJ_NOTNULL(req->vcl, VCL_CONF_MAGIC); CHECK_OBJ_NOTNULL(req->vcl, VCL_CONF_MAGIC);
AZ(req->objcore); AZ(req->objcore);
AZ(req->err_code);
AZ(isnan(req->t_first)); AZ(isnan(req->t_first));
AZ(isnan(req->t_prev)); AZ(isnan(req->t_prev));
...@@ -591,11 +592,6 @@ cnt_recv(struct worker *wrk, struct req *req) ...@@ -591,11 +592,6 @@ cnt_recv(struct worker *wrk, struct req *req)
} }
} }
if (req->err_code) {
req->req_step = R_STP_SYNTH;
return (REQ_FSM_MORE);
}
req->doclose = http_DoConnection(req->http); req->doclose = http_DoConnection(req->http);
/* By default we use the first backend */ /* By default we use the first backend */
......
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