initialize mbufhead

This commit is contained in:
Omar Polo 2021-09-26 16:43:19 +00:00
parent cb28978f0a
commit 83fe545a2b
1 changed files with 2 additions and 0 deletions

View File

@ -1179,6 +1179,8 @@ do_accept(int sock, short et, void *d)
c->addr = addr;
c->fcgi = -1;
TAILQ_INIT(&c->mbufhead);
yield_read(fd, c, &handle_handshake);
connected_clients++;
return;