BUG/MEDIUM: mux_pt: Make sure we don't have a conn_stream before freeing.

On error, make sure we don't have a conn_stream before freeing the connection
and the associated mux context. Otherwise a stream will still reference
the connection, and attempt to use it.
If we still have a conn_stream, it will properly be free'd when the detach
method is called, anyway.

This should be backported to 2.0 and 1.9.

(cherry picked from commit e8826ded5fea3593d89da2be5c2d81c522070995)
Signed-off-by: Willy Tarreau <w@1wt.eu>
1 file changed