mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-18 17:34:45 +00:00
4ab2679689
During post-parsing stage, the SSL context of a server is initialized if SSL
is configured on the server or its default-server. It is required to be able
to enable SSL at runtime. However a regression was introduced, because the
last parsed default-server is used. But it is not necessarily the
default-server line used to configure the server. This may lead to
erroneously initialize the SSL context for a server without SSL parameter or
the skip it while it should be done.
The problem is the default-server used to configure a server is not saved
during configuration parsing. So, the information is lost during the
post-parsing. To fix the bug, the SRV_F_DEFSRV_USE_SSL flag is
introduced. It is used to know when a server was initialized with a
default-server using SSL.
For the record, the commit
|
||
---|---|---|
.. | ||
cli_add_check_server.vtc | ||
cli_add_server.vtc | ||
cli_add_ssl_server.vtc | ||
cli_add_track_server.vtc | ||
cli_delete_dynamic_server.vtc | ||
cli_delete_server_lua.vtc | ||
cli_delete_server.vtc | ||
cli_set_fdqn.vtc | ||
cli_set_ssl.vtc | ||
common.pem | ||
get_srv_stats.lua |