mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05:00
BUG/MEDIUM: mux_fcgi: Free the FCGI connection at the end of fcgi_release()
fcgi_release() function is responsible to release a FCGI connection. But the release of the connection itself is missing. This patch must be backported to 2.1.
This commit is contained in:
parent
66cd57ef5a
commit
8694f25040
1 changed files with 2 additions and 0 deletions
|
|
@ -852,6 +852,8 @@ static void fcgi_release(struct fcgi_conn *fconn)
|
|||
if (conn && fconn->wait_event.events != 0)
|
||||
conn->xprt->unsubscribe(conn, conn->xprt_ctx, fconn->wait_event.events,
|
||||
&fconn->wait_event);
|
||||
|
||||
pool_free(pool_head_fcgi_conn, fconn);
|
||||
}
|
||||
|
||||
if (conn) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue