commit | 44d59146a6c00c73f3095eed820f5f792fca4ac1 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Dec 13 18:46:22 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Dec 13 18:54:27 2018 +0100 |
tree | 161baf98be0bed2f878b6e32ea769be19d4a4b23 | |
parent | a70e176843c64641598b68c6fe24311d4aeb92ca [diff] |
MEDIUM: htx: Try to take a connection over if it has no owner. In the mux detach function, when using HTX, take the connection over if it no longer has an owner (ie because the session that was the owner left). It is done for legacy code in proto_http.c, but not for HTX. Also when using HTX, in H2, try to add the connection back to idle_conns if it was not already (ie we used to use all the available streams, and we're freeing one). That too was done in proto_http.c.