projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66cd57e
)
BUG/MEDIUM: mux_fcgi: Free the FCGI connection at the end of fcgi_release()
author
Christopher Faulet
<cfaulet@haproxy.com>
Sat, 2 May 2020 07:17:52 +0000
(09:17 +0200)
committer
Christopher Faulet
<cfaulet@haproxy.com>
Sat, 2 May 2020 07:37:03 +0000
(09:37 +0200)
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.
src/mux_fcgi.c
patch
|
blob
|
history
diff --git
a/src/mux_fcgi.c
b/src/mux_fcgi.c
index
f6a2f7c
..
1db8646
100644
(file)
--- a/
src/mux_fcgi.c
+++ b/
src/mux_fcgi.c
@@
-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) {