haproxy/include
Willy Tarreau 94031d30d7 MINOR: connection: remove an unwelcome dependency on struct stream
There was a reference to struct stream in conn_free() for the case
where we're freeing a connection that doesn't have a mux attached.
For now we know it's always a stream, and we only need to do it to
put a NULL in s->si[1].end.

Let's do it better by storing the pointer to si[1].end in the context
and specifying that this pointer is always nulled if the mux is null.
This way it allows a connection to detach itself from wherever it's
being used. Maybe we could even get rid of the condition on the mux.
2018-12-19 14:36:29 +01:00
..
common MEDIUM: h2: properly check and deduplicate the content-length header in HTX 2018-12-19 13:08:08 +01:00
import BUILD: threads/plock: fix a build issue on Clang without optimization 2017-11-20 21:06:35 +01:00
proto MINOR: connection: remove an unwelcome dependency on struct stream 2018-12-19 14:36:29 +01:00
types CLEANUP: connection: rename conn->mux_ctx to conn->ctx 2018-12-19 14:13:07 +01:00