diff --git a/src/mux_fcgi.c b/src/mux_fcgi.c index 3fb85b571..38c2bfd64 100644 --- a/src/mux_fcgi.c +++ b/src/mux_fcgi.c @@ -3468,7 +3468,7 @@ static void fcgi_detach(struct conn_stream *cs) if (eb_is_empty(&fconn->streams_by_id)) { if (!srv_add_to_idle_list(objt_server(fconn->conn->target), fconn->conn)) { /* The server doesn't want it, let's kill the connection right away */ - fconn->conn->mux->destroy(fconn->conn); + fconn->conn->mux->destroy(fconn); TRACE_DEVEL("outgoing connection killed", FCGI_EV_STRM_END|FCGI_EV_FCONN_ERR); } TRACE_DEVEL("reusable idle connection", FCGI_EV_STRM_END, fconn->conn); diff --git a/src/mux_h1.c b/src/mux_h1.c index 212a279c6..dcba3dfb8 100644 --- a/src/mux_h1.c +++ b/src/mux_h1.c @@ -2396,7 +2396,7 @@ static void h1_detach(struct conn_stream *cs) h1c->conn->owner = NULL; if (!srv_add_to_idle_list(objt_server(h1c->conn->target), h1c->conn)) { /* The server doesn't want it, let's kill the connection right away */ - h1c->conn->mux->destroy(h1c->conn); + h1c->conn->mux->destroy(h1c); TRACE_DEVEL("outgoing connection killed", H1_EV_STRM_END|H1_EV_H1C_END); goto end; } diff --git a/src/mux_h2.c b/src/mux_h2.c index 6b6f42ea3..d726944a3 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -3887,7 +3887,7 @@ static void h2_detach(struct conn_stream *cs) if (eb_is_empty(&h2c->streams_by_id)) { if (!srv_add_to_idle_list(objt_server(h2c->conn->target), h2c->conn)) /* The server doesn't want it, let's kill the connection right away */ - h2c->conn->mux->destroy(h2c->conn); + h2c->conn->mux->destroy(h2c); TRACE_DEVEL("leaving on error after killing outgoing connection", H2_EV_STRM_END|H2_EV_H2C_ERR); return; }