]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-fcgi: Be sure to have a connection as session's origin to use it
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 24 Apr 2020 05:19:04 +0000 (07:19 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 08:46:28 +0000 (10:46 +0200)
commitbb86a0f7be6ba8a248321a59c4b865e01e33f106
treea87298c87798d8980cc170f575e9f2794f4eadbc
parentedc6ed9778c63268170082fa936b383106d728d3
BUG/MINOR: mux-fcgi: Be sure to have a connection as session's origin to use it

When default parameters are set in a request message, we get the client
connection using the session's origin. But it is not necessarily a
conncection. For instance, for health checks, thanks to recent changes, it may
be a check object. At this step, the client connection may be NULL. Thus, we
must be sure to have a client connection before using it.

This patch must be backported to 2.1.
src/mux_fcgi.c