From 529bae594e9e80406151717d22118f9062ab9d43 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Thu, 18 Mar 2021 14:25:32 +0100 Subject: [PATCH] [RELEASE] Released version 2.1.12 Released version 2.1.12 with the following main changes : - BUG/MINOR: sample: check alloc_trash_chunk return value in concat() - BUG/MINOR: sample: Memory leak of sample_expr structure in case of error - BUG/MINOR: init: enforce strict-limits when using master-worker - BUG/MINOR: init: Use a dynamic buffer to set HAPROXY_CFGFILES env variable - BUG/MINOR: threads: Fixes the number of possible cpus report for Mac. - BUG/MINOR: peers: Wrong "new_conn" value for "show peers" CLI command. - BUG/MINOR: mux_h2: missing space between "st" and ".flg" in the "show fd" helper - BUG/MINOR: mworker: define _GNU_SOURCE for strsignal() - BUG/MEDIUM: mux-h2: fix read0 handling on partial frames - BUILD/MINOR: lua: define _GNU_SOURCE for LLONG_MAX - BUG/MEDIUM: stats: add missing INF_BUILD_INFO definition - BUG/MEDIUM: filters/htx: Fix data forwarding when payload length is unknown - BUG/MINOR: config: fix leak on proxy.conn_src.bind_hdr_name - MINOR: contrib: Make the wireshark peers dissector compile for more distribs. - DOC: management: fix "show resolvers" alphabetical ordering - BUG/MINOR: stick-table: Always call smp_fetch_src() with a valid arg list - BUG/MEDIUM: ssl: check a connection's status before computing a handshake - BUG/MINOR: xxhash: make sure armv6 uses memcpy() - BUG/MINOR: ssl: init tmp chunk correctly in ssl_sock_load_sctl_from_file() - BUG/MEDIUM: ssl/cli: abort ssl cert is freeing the old store - BUILD: Makefile: move REGTESTST_TYPE default setting - BUG/MEDIUM: mux-h2: handle remaining read0 cases - BUG/MEDIUM: mux-h2: do not quit the demux loop before setting END_REACHED - BUG/MINOR: http-ana: Don't increment HTTP error counter on internal errors - BUG/MEDIUM: mux-h1: Always set CS_FL_EOI for response in MSG_DONE state - BUG/MINOR: server: re-align state file fields number - BUG/MINOR: tools: Fix a memory leak on error path in parse_dotted_uints() - BUG/MINOR: backend: hold correctly lock when killing idle conn - BUG/MINOR: server: Fix server-state-file-name directive - CLEANUP: deinit: release global and per-proxy server-state variables on deinit - BUG/MEDIUM: config: don't pick unset values from last defaults section - BUG/MINOR: stats: revert the change on ST_CONVDONE - BUG/MINOR: cfgparse: do not mention "addr:port" as supported on proxy lines - BUG/MINOR: server: Don't call fopen() with server-state filepath set to NULL - CLEANUP: channel: fix comment in ci_putblk. - BUG/MINOR: server: Remove RMAINT from admin state when loading server state - BUG/MINOR: session: atomically increment the tracked sessions counter - BUG/MINOR: checks: properly handle wrapping time in __health_adjust() - BUG/MINOR: sample: Always consider zero size string samples as unsafe - BUG/MINOR: server: Init params before parsing a new server-state line - BUG/MINOR: server: Be sure to cut the last parsed field of a server-state line - BUG/MEDIUM: mux-h1: Fix handling of responses to CONNECT other than 200-ok - BUG/MINOR: ssl/cli: potential null pointer dereference in "set ssl cert" - BUG/MINOR: sample: secure convs that accept base64 string and var name as args - BUG/MEDIUM: vars: make functions vars_get_by_{name,desc} thread-safe - BUG/MEDIUM: proxy: use thread-safe stream killing on hard-stop - BUG/MEDIUM: cli/shutdown sessions: make it thread-safe - BUG/MINOR: proxy: wake up all threads when sending the hard-stop signal - BUG/MINOR: resolvers: new callback to properly handle SRV record errors - BUG/MEDIUM: resolvers: Reset server address and port for obselete SRV records - BUG/MEDIUM: resolvers: Reset address for unresolved servers - BUG/MINOR: mux-h1: Immediately report H1C errors from h1_snd_buf() - BUG/MINOR: http-ana: Only consider dst address to process originalto option - BUG/MINOR: tcp-act: Don't forget to set the original port for IPv4 set-dst rule - BUG/MINOR: connection: Use the client's dst family for adressless servers - BUG/MEDIUM: spoe: Kill applets if there are pending connections and nbthread > 1 - DOC: spoe: Add a note about fragmentation support in HAProxy - BUG/MINOR: mux-h2: Fix typo in scheme adjustment - BUG/MINOR: http-ana: Don't increment HTTP error counter on read error/timeout - BUG/MEDIUM: dns: Consider the fact that dns answers are case-insensitive - BUG/MEDIUM: lists: Lock the element while we check if it is in a list. - BUG/MEDIUM: lists: Avoid an infinite loop in MT_LIST_TRY_ADDQ(). - BUG/MINOR: hlua: Don't strip last non-LWS char in hlua_pushstrippedstring() - BUG/MINOR: ssl: don't truncate the file descriptor to 16 bits in debug mode - BUG/MEDIUM: session: NULL dereference possible when accessing the listener - BUG/MEDIUM: filters: Set CF_FL_ANALYZE on channels when filters are attached - BUG/MINOR: proxy/session: Be sure to have a listener to increment its counters - BUG/MINOR: session: Add some forgotten tests on session's listener - CLEANUP: tcp-rules: add missing actions in the tcp-request error message - BUG/MINOR: resolvers: Consider server to have no IP on DNS resolution error - BUG/MINOR: resolvers: Reset server address on DNS error only on status change - BUG/MINOR: resolvers: Add missing case-insensitive comparisons of DNS hostnames - MINOR: time: export the global_now variable - BUG/MINOR: freq_ctr/threads: make use of the last updated global time - MINOR: version: Set the EOL of the 2.1 branch --- CHANGELOG | 77 +++++++++++++++++++++++++++++++++++++++++++++++++ VERDATE | 2 +- VERSION | 2 +- doc/configuration.txt | 2 +- 4 files changed, 80 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 1bd77f5..0c5e043 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,83 @@ ChangeLog : =========== +2021/03/18 : 2.1.12 + - BUG/MINOR: sample: check alloc_trash_chunk return value in concat() + - BUG/MINOR: sample: Memory leak of sample_expr structure in case of error + - BUG/MINOR: init: enforce strict-limits when using master-worker + - BUG/MINOR: init: Use a dynamic buffer to set HAPROXY_CFGFILES env variable + - BUG/MINOR: threads: Fixes the number of possible cpus report for Mac. + - BUG/MINOR: peers: Wrong "new_conn" value for "show peers" CLI command. + - BUG/MINOR: mux_h2: missing space between "st" and ".flg" in the "show fd" helper + - BUG/MINOR: mworker: define _GNU_SOURCE for strsignal() + - BUG/MEDIUM: mux-h2: fix read0 handling on partial frames + - BUILD/MINOR: lua: define _GNU_SOURCE for LLONG_MAX + - BUG/MEDIUM: stats: add missing INF_BUILD_INFO definition + - BUG/MEDIUM: filters/htx: Fix data forwarding when payload length is unknown + - BUG/MINOR: config: fix leak on proxy.conn_src.bind_hdr_name + - MINOR: contrib: Make the wireshark peers dissector compile for more distribs. + - DOC: management: fix "show resolvers" alphabetical ordering + - BUG/MINOR: stick-table: Always call smp_fetch_src() with a valid arg list + - BUG/MEDIUM: ssl: check a connection's status before computing a handshake + - BUG/MINOR: xxhash: make sure armv6 uses memcpy() + - BUG/MINOR: ssl: init tmp chunk correctly in ssl_sock_load_sctl_from_file() + - BUG/MEDIUM: ssl/cli: abort ssl cert is freeing the old store + - BUILD: Makefile: move REGTESTST_TYPE default setting + - BUG/MEDIUM: mux-h2: handle remaining read0 cases + - BUG/MEDIUM: mux-h2: do not quit the demux loop before setting END_REACHED + - BUG/MINOR: http-ana: Don't increment HTTP error counter on internal errors + - BUG/MEDIUM: mux-h1: Always set CS_FL_EOI for response in MSG_DONE state + - BUG/MINOR: server: re-align state file fields number + - BUG/MINOR: tools: Fix a memory leak on error path in parse_dotted_uints() + - BUG/MINOR: backend: hold correctly lock when killing idle conn + - BUG/MINOR: server: Fix server-state-file-name directive + - CLEANUP: deinit: release global and per-proxy server-state variables on deinit + - BUG/MEDIUM: config: don't pick unset values from last defaults section + - BUG/MINOR: stats: revert the change on ST_CONVDONE + - BUG/MINOR: cfgparse: do not mention "addr:port" as supported on proxy lines + - BUG/MINOR: server: Don't call fopen() with server-state filepath set to NULL + - CLEANUP: channel: fix comment in ci_putblk. + - BUG/MINOR: server: Remove RMAINT from admin state when loading server state + - BUG/MINOR: session: atomically increment the tracked sessions counter + - BUG/MINOR: checks: properly handle wrapping time in __health_adjust() + - BUG/MINOR: sample: Always consider zero size string samples as unsafe + - BUG/MINOR: server: Init params before parsing a new server-state line + - BUG/MINOR: server: Be sure to cut the last parsed field of a server-state line + - BUG/MEDIUM: mux-h1: Fix handling of responses to CONNECT other than 200-ok + - BUG/MINOR: ssl/cli: potential null pointer dereference in "set ssl cert" + - BUG/MINOR: sample: secure convs that accept base64 string and var name as args + - BUG/MEDIUM: vars: make functions vars_get_by_{name,desc} thread-safe + - BUG/MEDIUM: proxy: use thread-safe stream killing on hard-stop + - BUG/MEDIUM: cli/shutdown sessions: make it thread-safe + - BUG/MINOR: proxy: wake up all threads when sending the hard-stop signal + - BUG/MINOR: resolvers: new callback to properly handle SRV record errors + - BUG/MEDIUM: resolvers: Reset server address and port for obselete SRV records + - BUG/MEDIUM: resolvers: Reset address for unresolved servers + - BUG/MINOR: mux-h1: Immediately report H1C errors from h1_snd_buf() + - BUG/MINOR: http-ana: Only consider dst address to process originalto option + - BUG/MINOR: tcp-act: Don't forget to set the original port for IPv4 set-dst rule + - BUG/MINOR: connection: Use the client's dst family for adressless servers + - BUG/MEDIUM: spoe: Kill applets if there are pending connections and nbthread > 1 + - DOC: spoe: Add a note about fragmentation support in HAProxy + - BUG/MINOR: mux-h2: Fix typo in scheme adjustment + - BUG/MINOR: http-ana: Don't increment HTTP error counter on read error/timeout + - BUG/MEDIUM: dns: Consider the fact that dns answers are case-insensitive + - BUG/MEDIUM: lists: Lock the element while we check if it is in a list. + - BUG/MEDIUM: lists: Avoid an infinite loop in MT_LIST_TRY_ADDQ(). + - BUG/MINOR: hlua: Don't strip last non-LWS char in hlua_pushstrippedstring() + - BUG/MINOR: ssl: don't truncate the file descriptor to 16 bits in debug mode + - BUG/MEDIUM: session: NULL dereference possible when accessing the listener + - BUG/MEDIUM: filters: Set CF_FL_ANALYZE on channels when filters are attached + - BUG/MINOR: proxy/session: Be sure to have a listener to increment its counters + - BUG/MINOR: session: Add some forgotten tests on session's listener + - CLEANUP: tcp-rules: add missing actions in the tcp-request error message + - BUG/MINOR: resolvers: Consider server to have no IP on DNS resolution error + - BUG/MINOR: resolvers: Reset server address on DNS error only on status change + - BUG/MINOR: resolvers: Add missing case-insensitive comparisons of DNS hostnames + - MINOR: time: export the global_now variable + - BUG/MINOR: freq_ctr/threads: make use of the last updated global time + - MINOR: version: Set the EOL of the 2.1 branch + 2021/01/08 : 2.1.11 - MINOR: http-htx: Add understandable errors for the errorfiles parsing - BUG/MINOR: http-htx: Just warn if payload of an errorfile doesn't match the C-L diff --git a/VERDATE b/VERDATE index 2926d22..1b7cf5d 100644 --- a/VERDATE +++ b/VERDATE @@ -1,2 +1,2 @@ $Format:%ci$ -2021/01/08 +2021/03/18 diff --git a/VERSION b/VERSION index a39c0b7..348fc11 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.1.11 +2.1.12 diff --git a/doc/configuration.txt b/doc/configuration.txt index fcb2f2e..326aaca 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -4,7 +4,7 @@ ---------------------- version 2.1 willy tarreau - 2021/01/08 + 2021/03/18 This document covers the configuration language as implemented in the version -- 1.7.10.4