2 Changes with Apache 2.5.0
4 *) mod_ssl: for all ssl_engine_vars.c lookups, fall back to master connection
5 if conn_rec itself holds no valid SSLConnRec*. Fixes PR58666.
8 *) mod_proxy_fdpass: Fix AH01153 error when using the default configuration.
9 In earlier version of httpd, you can explicitelly set the 'flusher' parameter
10 to 'flush' as a workaround. (i.e. flusher=flush)
11 Add documentation for the 'flusher' parameter when defining a proxy worker.
14 *) mod_ssl: For the "SSLStaplingReturnResponderErrors off" case, make sure
15 to only staple responses with certificate status "good". [Kaspar Brand]
17 *) core: Limit to ten the number of tolerated empty lines between request,
18 and consume them before the pipelining check to avoid possible response
19 delay when reading the next request without flushing. [Yann Ylavic]
21 *) mod_session: Introduce SessionExpiryUpdateInterval which allows to
22 configure the session/cookie expiry's update interval. PR 57300.
23 [Paul Spangler <paul.spangler ni.com>]
25 *) core: Extend support for asynchronous write completion from the
26 network filter to any connection or request filter. [Graham Leggett]
28 *) mpm_event: Free memory earlier when shutting down processes.
31 *) mod_ssl: Make the output filter more friendly with deferred write and
32 response pipelining. [Yann Ylavic, Joe Orton]
34 *) core/util_script: relax alphanumeric filter of environment variable names
35 on Windows to allow '(' and ')' for passing PROGRAMFILES(X86) et.al.
36 unadulterated in 64 bit versions of Windows. PR 46751.
37 [John <john leineweb de>]
39 *) mod_auth_digest: remove AuthDigestEnableQueryStringHack which is no
40 more documented since dec 2012 (r1415960). [Christophe Jaillet]
42 *) mod_charset_lite: On EBCDIC platforms, make sure mod_charset_lite runs
43 after other resource-level filters. [Eric Covener]
45 *) mod_dir: Responses that go through "FallbackResource" might appear to
46 hang due to unterminated chunked encoding. PR58292. [Eric Covener]
48 *) mod_alias: Limit Redirect expressions to directory (Location) context
49 and redirect statuses (implicit or explicit).
50 [Yann Ylavic, Ruediger Pluem]
52 *) mod_substitute: Fix configuraton merge order.
53 PR 57641 [<Marc.Stern approach.be>]
55 *) mod_ssl: When SSLVerify is disabled (NONE), don't force a renegotiation if
56 the SSLVerifyDepth applied with the default/handshaken vhost differs from
57 the one applicable with the finally selected vhost. [Yann Ylavic]
59 *) http: Don't remove the Content-Length of zero from a HEAD response if
60 it comes from an origin server, module or script. [Yann Ylavic]
62 *) http: Add support for RFC2324/RFC7168. [Graham Leggett]
64 *) mod_rewrite: Add support for starting External Rewriting Programs
65 as non-root user on UNIX systems by specifying username and group name
66 as third argument of RewriteMap directive. [Jan Kaluza]
68 *) mod_authn_core: Add expression support to AuthName and AuthType.
71 *) suexec: Filter out the HTTP_PROXY environment variable because it is
72 treated as alias for http_proxy by some programs. [Stefan Fritsch]
74 *) mod_proxy_http: Don't establish or reuse a backend connection before pre-
75 fetching the request body, so to minimize the delay between it is supposed
76 to be alive and the first bytes sent: this is a best effort to prevent the
77 backend from closing because of idle or keepalive timeout in the meantime.
78 Also, handle a new "proxy-flushall" environment variable which allows to
79 flush any forwarded body data immediately. PR 56541+37920. [Yann Ylavic]
81 *) core: Define and UnDefine are no longer permitted in
82 directory context. Previously they would always be evaulated
83 as the configuration was read without regard for the directory
84 context. [Eric Covener]
86 *) config: For directives that do not expect any arguments, enforce
87 that none are specified in the configuration file.
88 [Joachim Zobel <jzobel heute-morgen.de>, Eric Covener]
90 *) mod_rewrite: Improve 'bad flag delimeters' startup error by showing
91 how the input was tokenized. PR 56528. [Edward Lu <Chaosed0 gmail.com>]
93 *) mod_proxy: Don't put non balancer-member workers in error state by
94 default for connection or 500/503 errors, and honor status=+I for
95 any error. PR 48388. [Yann Ylavic]
97 *) mod_socache_memcache: Pass expiration time through to memcached. PR 55445.
98 [Faidon Liambotis <paravoid debian.org>, Joe Orton]
100 *) ap_expr: Add filemod function for checking file modification dates
103 *) mod_authnz_ldap: Resolve crashes with LDAP authz and non-LDAP authn since
104 r1608202. [Eric Covener]
106 *) core: Ensure that httpd exits with an error status when the MPM fails
107 to run. [Yann Ylavic]
109 *) apreq: Content-Length header should be always interpreted as a decimal.
110 Leading 0 could be erroneously considered as an octal value. PR 56598.
111 [Chris Card <ctcard hotmail com>]
113 *) mod_proxy: Now allow for 191 character worker names, with non-fatal
114 errors if name is truncated. PR53218. [Jim Jagielski]
116 *) mod_ssl: Add optional function "ssl_get_tls_cb" to allow support
117 for channel bindings. [Simo Sorce <simo redhat.com>]
119 *) mod_proxy_wstunnel: Concurrent websockets messages could be
120 lost or delayed with ProxyWebsocketAsync enabled.
121 [Edward Lu <Chaosed0 gmail.com>]
123 *) core, mod_info: Add compiled and loaded PCRE versions to version
124 number display. [Rainer Jung]
126 *) mod_authnz_ldap: Return LDAP connections to the pool before the handler
127 is run, instead of waiting until the end of the request. [Eric Covener]
129 *) mod_log_config: Add GlobalLog to allow a globally defined log to
130 be inherited by virtual hosts that define a CustomLog.
131 [Edward Lu <Chaosed0 gmail.com>]
133 *) mod_proxy_html: support automatic detection of doctype and processing
134 of FPIs. PR56285 [Micha Lenk <micha lenk info>, Nick Kew]
136 *) mod_proxy_html: skip documents shorter than 4 bytes
137 PR 56286 [Micha Lenk <micha lenk info>]
139 *) mod_proxy_fdpass: Fix computation of the size of 'struct sockaddr_un'
140 when passed to 'connect()'.
141 [Graham Dumpleton <grahamd apache org>]
143 *) core: Add ap_mpm_resume_suspended() API to allow a suspended connection
145 [Artem <artemciy gmail.com>, Edward Lu <Chaosed0 gmail.com>]
147 *) core: Add ap_mpm_register_socket_callback_timeout() API. [Eric Covener]
149 *) mod_proxy_wstunnel: Honor ProxyWebsocketIdleTimeout in asynchronous
150 processing mode. [Eric Covener]
152 *) mod_authnz_ldap: Fail explicitly when the filter is too long. Remove
153 unnecessary apr_pstrdup() and strlen(). [Graham Leggett]
155 *) Add the ldap-search option to mod_authnz_ldap, allowing authorization
156 to be based on arbitrary expressions that do not include the username.
159 *) Add the ldap function to the expression API, allowing LDAP filters and
160 distinguished names based on expressions to be escaped correctly to
161 guard against LDAP injection. [Graham Leggett]
163 *) Add module mod_ssl_ct, which provides an implementation of Certificate
164 Transparency (RFC 6962) for httpd. [Jeff Trawick]
166 *) mod_remoteip: Prevent an external proxy from presenting an internal
167 proxy. PR 55962. [Mike Rumph]
169 *) mod_ssl: Add hooks to allow other modules to perform processing at
170 several stages of initialization and connection handling. See
171 mod_ssl_openssl.h. [Jeff Trawick]
173 *) mod_proxy_wstunnel: Avoid sending error responses down an upgraded
174 websockets connection as it is being close down. [Eric Covener]
176 *) mod_proxy_wstunnel: Allow the administrator to cap the amount
177 of time a synchronous websockets connection stays idle with
178 ProxyWebsocketIdleTimeout. [Eric Covener]
180 *) mod_proxy_wstunnel: Change to opt-in for asynchronous support, adding
181 directives ProxyWebsocketAsync and ProxyWebsocketAsyncDelay.
184 *) mod_proxy_wstunnel: Stop leaking websockets backend connections under
185 event MPM (trunk-only). [Eric Covener]
187 *) mod_proxy_http: Add detach_backend hook (potentially usable
188 in other proxy scheme handlers). [Jeff Trawick]
190 *) mod_deflate: Add DeflateAlterETag to control how the ETag
191 is modified. The 'NoChange' parameter mimics 2.2.x behavior.
192 PR 45023, PR 39727. [Eric Covener]
194 *) mod_rewrite: Add 'BNF' (backreferences-no-plus) flag to RewriteRule to
195 allow spaces in backreferences to be encoded as %20 instead of '+'.
198 *) mod_rewrite: Support an optional list of characters to escape in the
199 argument for the 'B' (escape backreferences) flag. [Eric Covener]
201 *) mod_dir: Default to 2.2-like behavior and skip execution when method is
202 neither GET nor POST, such as for DAV requests. PR 54914. [Chris Darroch]
204 *) mod_rewrite: Rename the handler that does per-directory internal
205 redirects to "rewrite-redirect-handler" from "redirect-handler" so
206 it is less ambiguous and less likely to be reused. [Eric Covener]
208 *) mod_rewrite: Protect against looping with the [N] flag by enforcing a
209 default limit of 10000 iterations, and allowing each rule to change its
210 limit. [Eric Covener]
212 *) mod_ssl: Fix config merging of SSLOCSPEnable and SSLOCSPOverrideResponder.
215 *) Add HttpContentLengthHeadZero and HttpExpectStrict directives.
216 [Yehuda Sadeh <yehuda inktank com>, Justin Erenkrantz]
218 *) mod_ssl: Add -t -DDUMP_CA_CERTS option which dumps the filenames of all
219 configured SSL CA certificates to stdout the same way as DUMP_CERTS does.
222 *) mod_ssl: Don't flush when an EOS is received. Prepares mod_ssl
223 to support write completion. [Graham Leggett]
225 *) core: Add parse_errorlog_arg callback to ap_errorlog_provider
226 to allow providers to check the ErrorLog argument. [Jan Kaluza]
228 *) mod_cgid: Use the servers Timeout for each read from a CGI script,
229 allow override with new CGIDRequestTimeout directive. PR43494
230 [Eric Covener, Toshikuni Fukaya <toshikuni-fukaya cybozu co jp>]
232 *) core: ensure any abnormal exit is reported to stderr if it's a tty.
235 *) mod_lua: Let the Inter-VM get/set functions work with a global
236 shared memory pool instead of a per-process pool. [Daniel Gruno]
238 *) ldap: Support ldaps when using the Microsoft LDAP SDK.
239 PR 54626. [Jean-Frederic Clere]
241 *) mod_authnz_ldap: Change default value of AuthLDAPMaxSubGroupDepth to 0
242 to avoid performance problems when subgroups aren't in use. [Eric Covener]
244 *) mod_syslog: New module implementing syslog ap_error_log provider.
245 Previously, this code was part of core, now it's in separate module.
248 *) core: Add ap_errorlog_provider to make ErrorLog logging modular. Move
249 syslog support from core to new mod_syslog. [Jan Kaluza]
251 *) mod_status, mod_echo: Fix the display of client addresses.
252 They were truncated to 31 characters which is not enough for IPv6 addresses.
253 PR 54848 [Bernhard Schmidt <berni birkenwald de>]
255 *) mod_unique_id: Use output of the PRNG rather than IP address and
256 pid, avoiding sleep() call and possible DNS issues at startup,
257 plus improving randomness for IPv6-only hosts.
258 [Jan Kaluza <jkaluza redhat.com>]
260 *) mod_file_cache: mod_file_cache should be able to serve files that
261 haven't had a Content-Type set via e.g. mod_mime. [Eric Covener]
263 *) core: merge AllowEncodedSlashes from the base configuration into
264 virtual hosts. [Eric Covener]
266 *) AIX: Install DSO's with "cp" instead of "install" in instdso.sh
269 *) mod_ldap: Don't keep retrying if a new LDAP connection times out.
272 *) mod_deflate: permit compilation of mod_deflate against a zlib that has
273 been configured with -D Z_PREFIX, which redefines the token "deflate".
276 *) mod_auth_digest: Use the secret when generating nonces in all cases and
277 not only when AuthName is used in .htaccess files (this change may cause
278 problems if used with round robin load balancers). Don't regenerate the
279 secret on graceful restarts. PR 54637 [Stefan Fritsch]
281 *) core: Remove apr_brigade_flatten(), buffering and duplicated code
282 from the HTTP_IN filter, parse chunks in a single pass with zero copy.
283 Reduce memory usage by 48 bytes per request. [Graham Leggett]
285 *) core: Stop the HTTP_IN filter from attempting to write error buckets
286 to the output filters, which is bogus in the proxy case. Create a
287 clean mapping from APR codes to HTTP status codes, and use it where
288 needed. [Graham Leggett]
290 *) mod_proxy: Ensure network errors detected by the proxy are returned as
291 504 Gateway Timout as opposed to 502 Bad Gateway, in order to be
292 compliant with RFC2616 14.9.4 Cache Revalidation and Reload Controls.
294 *) mod_dav: mod_dav overrides dav_fs response on PUT failure. PR 35981
295 [Basant Kumar Kukreja <basant.kukreja sun.com>, Alejandro Alvarez
296 <alejandro.alvarez.ayllon cern.ch>]
298 *) mod_ldap: LDAP connections used for authentication were not respecting
299 LDAPConnectionPoolTimeout. PR 54587
301 *) core: ap_rgetline_core now pulls from r->proto_input_filters.
303 *) mod_proxy_html: process parsed comments immediately.
304 Fixes bug where parsed comments may be lost. [Nick Kew]
306 *) mod_proxy_html: introduce doctype for HTML 5 [Nick Kew]
308 *) mod_proxy_html: fix typo-bug processing "strict" vs "transitional"
309 HTML/XHTML [Nick Kew]
311 *) core: Add option to add valgrind support. Use it to reduce false positive
312 warnings in mod_ssl. [Stefan Fritsch]
314 *) mod_authn_file, mod_authn_dbd, mod_authn_dbm, mod_authn_socache:
315 Cache the result of the most recent password hash verification for every
316 keep-alive connection. This saves some expensive calculations.
319 *) http: Remove support for Request-Range header sent by Navigator 2-3 and
320 MSIE 3. [Stefan Fritsch]
322 *) core, http: Extend HttpProtocol with an option to enforce stricter HTTP
323 conformance or to only log the found problems. [Stefan Fritsch]
325 *) core: Correctly parse an IPv6 literal host specification in an absolute
326 URL in the request line. [Stefan Fritsch]
330 *) core: Add LogLevelOverride directive that allows to override the
331 loglevel for clients from certain IPs. This also works for things
332 like the SSL handshake where <If> LogLevel ... </If> is evaluated
333 too late. [Stefan Fritsch]
335 *) core: Add new directive Warning to issue warnings from a configuration
336 file. Both Warning and Error now generate a timestamped log message.
339 *) ap_expr: Add SERVER_PROTOCOL_VERSION, ..._MAJOR, and ..._MINOR
340 variables. [Stefan Fritsch]
342 *) core: New directive RegisterHttpMethod for registering non-standard
343 HTTP methods. [Stefan Fritsch]
345 *) core: New directive HttpProtocol which allows to disable HTTP/0.9
346 support. [Stefan Fritsch]
348 *) mod_allowhandlers: New module to forbid specific handlers for specific
349 directories. [Stefan Fritsch]
351 *) mod_systemd: New module, for integration with systemd on Linux.
352 [Jan Kaluza <jkaluza redhat.com>]
354 *) WinNT MPM: Store pid and generation for each thread in scoreboard
355 to allow tracking of threads from exiting children via mod_status
356 or other such mechanisms. [Jeff Trawick]
358 *) The following now respect DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR:
359 - APIs: ap_log_pid(), ap_remove_pid, ap_read_pid()
360 - mod_cache: thundering herd lock directory
361 - mod_lbmethod_heartbeat, mod_heartmonitor: heartbeat storage file
362 - mod_ldap: shared memory cache
363 - mod_socache_shmcb, mod_socache_dbm: shared memory or dbm for cache
366 *) suexec: Add --enable-suexec-capabilites support on Linux, to use
367 setuid/setgid capability bits rather than a setuid root binary.
370 *) suexec: Add support for logging to syslog as an alternative to logging
371 to a file; configure --without-suexec-logfile --with-suexec-syslog.
374 *) mod_ssl: Add support for TLS Next Protocol Negotiation. PR 52210.
375 [Matthew Steele <mdsteele google.com>]
377 *) cross-compile: allow to provide CC_FOR_BUILD so that gen_test_char will
378 be compiled by the build compiler instead of the host compiler.
379 Also set CC_FOR_BUILD to 'cc' when cross-compilation is detected.
380 PR 51257. [Guenter Knauf]
382 *) core: In maintainer mode, replace apr_palloc with a version that
383 initializes the allocated memory with non-zero values, except if
384 AP_DEBUG_NO_ALLOC_POISON is defined. [Stefan Fritsch]
386 *) mod_policy: Add a new testing module to help server administrators
387 enforce a configurable level of protocol compliance on their
388 servers and application servers behind theirs. [Graham Leggett]
390 *) mod_firehose: Add a new debugging module able to record traffic
391 passing through the server in such a way that connections and/or
392 requests be reconstructed and replayed. [Graham Leggett]
402 [Apache 2.5.0-dev includes those bug fixes and changes with the
403 Apache 2.4.xx tree as documented below, except as noted.]
405 Changes with Apache 2.4.x and later:
407 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/CHANGES?view=markup
409 Changes with Apache 2.2.x and later:
411 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?view=markup
413 Changes with Apache 2.0.x and later:
415 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/CHANGES?view=markup