]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: http-client: Avoid dead code when compiled without SSL support
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 14 Apr 2022 10:02:34 +0000 (12:02 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 14 Apr 2022 10:02:35 +0000 (12:02 +0200)
commit67df95a8a2a0f64c7faeab85efe0fd2fbfebd8f6
tree8a9039b45a2c8367d627eb23bac73eae1301e440
parentae660be547eb72b5c213d87769e60c527fe6b7cd
BUILD: http-client: Avoid dead code when compiled without SSL support

When an HTTP client is started on an HAProxy compiled without the SSL
support, an error is triggered when HTTPS is used. In this case, the freshly
created conn-stream is released. But this code is specific to the non-SSL
part. Thus it is moved the in right #if/#else section.

This patch should fix the issue #1655.
src/http_client.c