mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-14 15:34:35 +00:00
MINOR: mux-h1: Don't release the conn_stream anymore when h1s is destroyed
An H1 stream is destroyed when the conn_stream is detached or when the H1 connection is destroyed. In the first case, the CS is released by the caller. In the second one, because the connection is closed, no CS is attached anymore. In both, there is no reason to release the conn_stream in h1s_destroy().
This commit is contained in:
parent
b992af00b6
commit
14c91cfdf8
@ -341,8 +341,6 @@ static void h1s_destroy(struct h1s *h1s)
|
||||
h1c->flags |= H1C_F_WAIT_NEXT_REQ;
|
||||
if (h1s->flags & (H1S_F_REQ_ERROR|H1S_F_RES_ERROR))
|
||||
h1c->flags |= H1C_F_CS_ERROR;
|
||||
|
||||
cs_free(h1s->cs);
|
||||
pool_free(pool_head_h1s, h1s);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user