[RELEASE] Released version 2.4.5
Released version 2.4.5 with the following main changes :
- MINOR: lua: Add a flag on lua context to know the yield capability at run time
- BUG/MINOR: lua: Yield in channel functions only if lua context can yield
- BUG/MINOR: lua: Don't yield in channel.append() and channel.set()
- BUG/MINOR: stream: Don't release a stream if FLT_END is still registered
- BUG/MEDIUM: http-ana: Reset channels analysers when returning an error
- BUG/MINOR: filters: Always set FLT_END analyser when CF_FLT_ANALYZE flag is set
- BUG/MINOR: filters: Set right FLT_END analyser depending on channel
- BUG/MINOR: systemd: ExecStartPre must use -Ws
- BUG/MEDIUM: mux-h1: Remove "Upgrade:" header for requests with payload
- MINOR: htx: Skip headers with no value when adding a header list to a message
- CLEANUP: mux-h1: Remove condition rejecting upgrade requests with payload
- BUG/MEDIUM: stream-int: Don't block SI on a channel policy if EOI is reached
- BUG/MINOR: compat: make sure __WORDSIZE is always defined
- CLEANUP: pools: factor all malloc_trim() calls into trim_all_pools()
- MINOR: pools: automatically disable malloc_trim() with external allocators
- MINOR: pools: use mallinfo2() when available instead of mallinfo()
- BUG/MAJOR: mux-h1: Don't eval input data if an error was reported
- BUG/MINOR: tcpcheck: Improve LDAP response parsing to fix LDAP check
- DOC: management: certificate files must be sanitized before injection
- BUG/MINOR: connection: prevent null deref on mux cleanup task allocation
- BUILD: ist: prevent gcc11 maybe-uninitialized warning on istalloc
- BUG/MINOR: cli/payload: do not search for args inside payload
- BUG/MINOR: flt-trace: fix an infinite loop when random-parsing is set
- BUILD: tools: get the absolute path of the current binary on NetBSD.
- MINOR: tools: add FreeBSD support to get_exec_path()
- MINOR: proc: setting the process to produce a core dump on FreeBSD.
- BUILD: activity: use #ifdef not #if on USE_MEMORY_PROFILING
- BUILD/MINOR: defaults: eliminate warning on MAXHOSTNAMELEN with -Wundef
- BUILD/MINOR: ssl: avoid a build warning on LIBRESSL_VERSION with -Wundef
- IMPORT: slz: silence a build warning with -Wundef
- BUILD/MINOR: regex: avoid a build warning on USE_PCRE2 with -Wundef
- BUILD: ssl: next round of build warnings on LIBRESSL_VERSION_NUMBER
- BUILD: ssl: fix two remaining occurrences of #if USE_OPENSSL
- BUILD: tools: properly guard __GLIBC__ with defined()
- BUG/MINOR: vars: improve accuracy of the rules used to check expression validity
- MINOR: sample: add missing ARGC_ entries
- BUG/MINOR: vars: properly set the argument parsing context in the expression
- BUG/MINOR: vars: truncate the variable name in error reports about scope.
- BUG/MINOR: vars: do not talk about global section in CLI errors for set-var
- BUILD: fix dragonfly build again on __read_mostly
- BUILD: compiler: fixed a missing test on defined(__GNUC__)
- BUILD: halog: fix a -Wundef warning on non-glibc systems
- BUILD: threads: fix -Wundef for _POSIX_PRIORITY_SCHEDULING on libmusl
- BUG/MINOR: server: allow 'enable health' only if check configured
- BUG/MEDIUM: leastconn: fix rare possibility of divide by zero
- BUG/MINOR: h1-htx: Fix a typo when request parser is reset
- BUG/MINOR: http-ana: increment internal_errors counter on response error
- MINOR: server: implement a refcount for dynamic servers
- MINOR: global: define MODE_STOPPING
- BUG/MINOR: server: do not use refcount in free_server in stopping mode
- MINOR: server: return the next srv instance on free_server
- BUG/MINOR: stats: use refcount to protect dynamic server on dump
- BUG/MEDIUM: mux-h1: Adjust conditions to ask more space in the channel buffer
- BUG/MEDIUM: stream-int: Notify stream that the mux wants more room to xfer data
- BUG/MEDIUM: stream: Stop waiting for more data if SI is blocked on RXBLK_ROOM
- MINOR: stream-int: Set CO_RFL transient/persistent flags apart in si_cs_rcv()
- MINOR: htx: Add an HTX flag to know when a message is fragmented
- MINOR: htx: Add a function to know if the free space wraps
- BUG/MEDIUM: stream-int: Defrag HTX message in si_cs_recv() if necessary
- MINOR: stream-int: Notify mux when the buffer is not stuck when calling rcv_buf
- BUG/MINOR: mux-h1/mux-fcgi: Sanitize TE header to only send "trailers"
- DOC: peers: fix doc "enable" statement on "peers" sections
- MINOR: Makefile: add MEMORY_POOLS to the list of DEBUG_xxx options
- BUG/MEDIUM: lua: fix wakeup condition from sleep()
- BUG/MAJOR: lua: use task_wakeup() to properly run a task once
- MINOR: arg: Be able to forbid unresolved args when building an argument list
- BUG/MINOR: tcpcheck: Don't use arg list for default proxies during parsing
- BUG/MINOR: tcp-rules: Stop content rules eval on read error and end-of-input
- MINOR: tasks: catch TICK_ETERNITY with BUG_ON() in __task_queue()
diff --git a/CHANGELOG b/CHANGELOG
index 88499b9..c1688b1 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,77 @@
ChangeLog :
===========
+2021/10/01 : 2.4.5
+ - MINOR: lua: Add a flag on lua context to know the yield capability at run time
+ - BUG/MINOR: lua: Yield in channel functions only if lua context can yield
+ - BUG/MINOR: lua: Don't yield in channel.append() and channel.set()
+ - BUG/MINOR: stream: Don't release a stream if FLT_END is still registered
+ - BUG/MEDIUM: http-ana: Reset channels analysers when returning an error
+ - BUG/MINOR: filters: Always set FLT_END analyser when CF_FLT_ANALYZE flag is set
+ - BUG/MINOR: filters: Set right FLT_END analyser depending on channel
+ - BUG/MINOR: systemd: ExecStartPre must use -Ws
+ - BUG/MEDIUM: mux-h1: Remove "Upgrade:" header for requests with payload
+ - MINOR: htx: Skip headers with no value when adding a header list to a message
+ - CLEANUP: mux-h1: Remove condition rejecting upgrade requests with payload
+ - BUG/MEDIUM: stream-int: Don't block SI on a channel policy if EOI is reached
+ - BUG/MINOR: compat: make sure __WORDSIZE is always defined
+ - CLEANUP: pools: factor all malloc_trim() calls into trim_all_pools()
+ - MINOR: pools: automatically disable malloc_trim() with external allocators
+ - MINOR: pools: use mallinfo2() when available instead of mallinfo()
+ - BUG/MAJOR: mux-h1: Don't eval input data if an error was reported
+ - BUG/MINOR: tcpcheck: Improve LDAP response parsing to fix LDAP check
+ - DOC: management: certificate files must be sanitized before injection
+ - BUG/MINOR: connection: prevent null deref on mux cleanup task allocation
+ - BUILD: ist: prevent gcc11 maybe-uninitialized warning on istalloc
+ - BUG/MINOR: cli/payload: do not search for args inside payload
+ - BUG/MINOR: flt-trace: fix an infinite loop when random-parsing is set
+ - BUILD: tools: get the absolute path of the current binary on NetBSD.
+ - MINOR: tools: add FreeBSD support to get_exec_path()
+ - MINOR: proc: setting the process to produce a core dump on FreeBSD.
+ - BUILD: activity: use #ifdef not #if on USE_MEMORY_PROFILING
+ - BUILD/MINOR: defaults: eliminate warning on MAXHOSTNAMELEN with -Wundef
+ - BUILD/MINOR: ssl: avoid a build warning on LIBRESSL_VERSION with -Wundef
+ - IMPORT: slz: silence a build warning with -Wundef
+ - BUILD/MINOR: regex: avoid a build warning on USE_PCRE2 with -Wundef
+ - BUILD: ssl: next round of build warnings on LIBRESSL_VERSION_NUMBER
+ - BUILD: ssl: fix two remaining occurrences of #if USE_OPENSSL
+ - BUILD: tools: properly guard __GLIBC__ with defined()
+ - BUG/MINOR: vars: improve accuracy of the rules used to check expression validity
+ - MINOR: sample: add missing ARGC_ entries
+ - BUG/MINOR: vars: properly set the argument parsing context in the expression
+ - BUG/MINOR: vars: truncate the variable name in error reports about scope.
+ - BUG/MINOR: vars: do not talk about global section in CLI errors for set-var
+ - BUILD: fix dragonfly build again on __read_mostly
+ - BUILD: compiler: fixed a missing test on defined(__GNUC__)
+ - BUILD: halog: fix a -Wundef warning on non-glibc systems
+ - BUILD: threads: fix -Wundef for _POSIX_PRIORITY_SCHEDULING on libmusl
+ - BUG/MINOR: server: allow 'enable health' only if check configured
+ - BUG/MEDIUM: leastconn: fix rare possibility of divide by zero
+ - BUG/MINOR: h1-htx: Fix a typo when request parser is reset
+ - BUG/MINOR: http-ana: increment internal_errors counter on response error
+ - MINOR: server: implement a refcount for dynamic servers
+ - MINOR: global: define MODE_STOPPING
+ - BUG/MINOR: server: do not use refcount in free_server in stopping mode
+ - MINOR: server: return the next srv instance on free_server
+ - BUG/MINOR: stats: use refcount to protect dynamic server on dump
+ - BUG/MEDIUM: mux-h1: Adjust conditions to ask more space in the channel buffer
+ - BUG/MEDIUM: stream-int: Notify stream that the mux wants more room to xfer data
+ - BUG/MEDIUM: stream: Stop waiting for more data if SI is blocked on RXBLK_ROOM
+ - MINOR: stream-int: Set CO_RFL transient/persistent flags apart in si_cs_rcv()
+ - MINOR: htx: Add an HTX flag to know when a message is fragmented
+ - MINOR: htx: Add a function to know if the free space wraps
+ - BUG/MEDIUM: stream-int: Defrag HTX message in si_cs_recv() if necessary
+ - MINOR: stream-int: Notify mux when the buffer is not stuck when calling rcv_buf
+ - BUG/MINOR: mux-h1/mux-fcgi: Sanitize TE header to only send "trailers"
+ - DOC: peers: fix doc "enable" statement on "peers" sections
+ - MINOR: Makefile: add MEMORY_POOLS to the list of DEBUG_xxx options
+ - BUG/MEDIUM: lua: fix wakeup condition from sleep()
+ - BUG/MAJOR: lua: use task_wakeup() to properly run a task once
+ - MINOR: arg: Be able to forbid unresolved args when building an argument list
+ - BUG/MINOR: tcpcheck: Don't use arg list for default proxies during parsing
+ - BUG/MINOR: tcp-rules: Stop content rules eval on read error and end-of-input
+ - MINOR: tasks: catch TICK_ETERNITY with BUG_ON() in __task_queue()
+
2021/09/07 : 2.4.4
- BUG/MEDIUM: h2: match absolute-path not path-absolute for :path
- REGTESTS: http_upgrade: fix incorrect expectation on TCP->H1->H2
diff --git a/VERDATE b/VERDATE
index 503234f..54eb9dc 100644
--- a/VERDATE
+++ b/VERDATE
@@ -1,2 +1,2 @@
$Format:%ci$
-2021/09/07
+2021/10/01
diff --git a/VERSION b/VERSION
index 79a6144..59aa62c 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.4.4
+2.4.5
diff --git a/doc/configuration.txt b/doc/configuration.txt
index 2377e97..89a457d 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -4,7 +4,7 @@
----------------------
version 2.4
willy tarreau
- 2021/09/07
+ 2021/10/01
This document covers the configuration language as implemented in the version