Commit 14ee00a1 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Initialize fd to -1 to catch bugs

parent 44169e78
......@@ -68,6 +68,7 @@ Req_New(const struct worker *wrk, struct sess *sp)
req->top = req; // esi overrides
INIT_OBJ(req->htc, HTTP_CONN_MAGIC);
req->htc->fd = -1;
e = (char*)req + sz;
p = (char*)(req + 1);
......
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