2 Changes with Apache 2.5.0
4 *) mod_ssl: Fix a possible memory leak on restart for custom [EC]DH params.
5 [Jan Kaluza, Yann Ylavic]
7 *) prefork: Initialize the POD when running in ONE_PROCESS (or -X) mode to
8 avoid a crash. [Jan Kaluza, Yann Ylavic]
10 *) core: fix a bug in <UnDefine ...> directive processing. When used, the last
11 <Define...>'ed variable was also withdrawn. PR 59019
14 *) mod_auth_digest: Fix compatibility with expression-based Authname. PR59039.
17 *) mpm: Add a complete_connection hook that confirms whether an MPM is allowed
18 to leave the WRITE_COMPLETION phase. Move filter code out of the MPMs.
21 *) mod_proxy_http2: using single connection for several requests *if*
22 master connection uses HTTP/2 itself. Not yet hardened under load.
25 *) core: Added support for HTTP code 451. PR58985.
26 [Yehuda Katz <yehuda ymkatz.net>, Jim Jagielski]
28 *) mod_ssl: Add support for OpenSSL 1.1.0. [Rainer Jung]
30 *) hostname: Test and log useragent_host per-request across various modules,
31 including the scoreboard, expression and rewrite engines, setenvif,
32 authz_host, access_compat, custom logging, ssl and REMOTE_HOST variables.
33 PR55348 [William Rowe]
35 *) core: Track the useragent_host per-request when mod_remoteip or similar
36 modules track a per-request useragent_ip. Modules should be updated
37 to inquire for ap_get_useragent_host() in place of ap_get_remote_host().
40 *) mod_proxy: Play/restore the TLS-SNI on new backend connections which
41 had to be issued because the remote closed the previous/reusable one
42 during idle (keep-alive) time. [Yann Ylavic]
44 *) mod_proxy_http2: new experimental http2 proxy module for h2: and h2c: proxy
45 urls. Uses, so far, one connection per request, reuses connections.
48 *) event: use pre_connection hook to properly initialize connection state for
49 slave connections. use protocol_switch hook to initialize server config
50 early based on SNI selected vhost.
53 *) core: Prevent a server crash in case of an invalid CONNECT request with
54 a custom error page for status code 400 that uses server side includes.
55 PR 58929 [Ruediger Pluem]
57 *) mod_ssl: Add SSLOCSPProxyURL to add the possibility to do all queries
58 to OCSP responders through a HTTP proxy. [Ruediger Pluem]
60 *) mod_filter: Fix AddOutputFilterByType with non-content-level filters.
61 PR58856 [Micha Lenk <micha lenk.info>]
63 *) mod_cache: Consider Cache-Control: s-maxage in expiration
64 calculations. [Eric Covener]
66 *) mod_cache: Allow caching of responses with an Expires header
67 in the past that also has Cache-Control: max-age or s-maxage.
68 PR55156. [Eric Covener]
70 *) ap_expr: expression support for variable HTTP2=on|off
73 *) mod_proxy_hcheck: Provide for dynamic background health
74 checks on reverse proxies associated with BalancerMember
75 workers. [Jim Jagielski]
77 *) mod_ssl: handle TIMEOUT on empty SSL input as non-fatal, returning
78 APR_TIMEUP and preserving connection state for later retry.
81 *) Added many log numbers to log statements that had none.
83 *) core: Add expression support to SetHandler.
86 *) mod_proxy_fcgi: Suppress HTTP error 503 and message 01075,
87 "Error dispatching request", when the cause appears to be
88 due to the client closing the connection.
89 PR58118. [Tobias Adolph <adolph lrz.de>]
91 *) mod_cgid: Message 02550, failure to flush a response to the client,
92 is now logged at TRACE1 level to match the underlying core output filter
93 severity. [Eric Covener]
95 *) mod_rewrite: Avoid looping on relative substitutions that
96 result in the same filename we started with. PR 58854.
99 *) mime.types: add common extension "m4a" for MPEG 4 Audio.
100 PR 57895 [Dylan Millikin <dylan.millikin gmail.com>]
102 *) mod_proxy_fdpass: Fix AH01153 error when using the default configuration.
103 In earlier version of httpd, you can explicitelly set the 'flusher' parameter
104 to 'flush' as a workaround. (i.e. flusher=flush)
105 Add documentation for the 'flusher' parameter when defining a proxy worker.
108 *) mod_ssl: For the "SSLStaplingReturnResponderErrors off" case, make sure
109 to only staple responses with certificate status "good". [Kaspar Brand]
111 *) mod_session: Introduce SessionExpiryUpdateInterval which allows to
112 configure the session/cookie expiry's update interval. PR 57300.
113 [Paul Spangler <paul.spangler ni.com>]
115 *) core: Extend support for asynchronous write completion from the
116 network filter to any connection or request filter. [Graham Leggett]
118 *) mpm_event: Free memory earlier when shutting down processes.
121 *) core/util_script: relax alphanumeric filter of environment variable names
122 on Windows to allow '(' and ')' for passing PROGRAMFILES(X86) et.al.
123 unadulterated in 64 bit versions of Windows. PR 46751.
124 [John <john leineweb de>]
126 *) mod_auth_digest: remove AuthDigestEnableQueryStringHack which is no
127 more documented since dec 2012 (r1415960). [Christophe Jaillet]
129 *) mod_charset_lite: On EBCDIC platforms, make sure mod_charset_lite runs
130 after other resource-level filters. [Eric Covener]
132 *) mod_dir: Responses that go through "FallbackResource" might appear to
133 hang due to unterminated chunked encoding. PR58292. [Eric Covener]
135 *) mod_substitute: Fix configuraton merge order.
136 PR 57641 [<Marc.Stern approach.be>]
138 *) mod_ssl: When SSLVerify is disabled (NONE), don't force a renegotiation if
139 the SSLVerifyDepth applied with the default/handshaken vhost differs from
140 the one applicable with the finally selected vhost. [Yann Ylavic]
142 *) http: Don't remove the Content-Length of zero from a HEAD response if
143 it comes from an origin server, module or script. [Yann Ylavic]
145 *) http: Add support for RFC2324/RFC7168. [Graham Leggett]
147 *) mod_rewrite: Add support for starting External Rewriting Programs
148 as non-root user on UNIX systems by specifying username and group name
149 as third argument of RewriteMap directive. [Jan Kaluza]
151 *) mod_authn_core: Add expression support to AuthName and AuthType.
154 *) suexec: Filter out the HTTP_PROXY environment variable because it is
155 treated as alias for http_proxy by some programs. [Stefan Fritsch]
157 *) mod_proxy_http: Don't establish or reuse a backend connection before pre-
158 fetching the request body, so to minimize the delay between it is supposed
159 to be alive and the first bytes sent: this is a best effort to prevent the
160 backend from closing because of idle or keepalive timeout in the meantime.
161 Also, handle a new "proxy-flushall" environment variable which allows to
162 flush any forwarded body data immediately. PR 56541+37920. [Yann Ylavic]
164 *) core: Define and UnDefine are no longer permitted in
165 directory context. Previously they would always be evaulated
166 as the configuration was read without regard for the directory
167 context. [Eric Covener]
169 *) config: For directives that do not expect any arguments, enforce
170 that none are specified in the configuration file.
171 [Joachim Zobel <jzobel heute-morgen.de>, Eric Covener]
173 *) mod_rewrite: Improve 'bad flag delimeters' startup error by showing
174 how the input was tokenized. PR 56528. [Edward Lu <Chaosed0 gmail.com>]
176 *) mod_proxy: Don't put non balancer-member workers in error state by
177 default for connection or 500/503 errors, and honor status=+I for
178 any error. PR 48388. [Yann Ylavic]
180 *) mod_socache_memcache: Pass expiration time through to memcached. PR 55445.
181 [Faidon Liambotis <paravoid debian.org>, Joe Orton]
183 *) ap_expr: Add filemod function for checking file modification dates
186 *) mod_authnz_ldap: Resolve crashes with LDAP authz and non-LDAP authn since
187 r1608202. [Eric Covener]
189 *) core: Ensure that httpd exits with an error status when the MPM fails
190 to run. [Yann Ylavic]
192 *) apreq: Content-Length header should be always interpreted as a decimal.
193 Leading 0 could be erroneously considered as an octal value. PR 56598.
194 [Chris Card <ctcard hotmail com>]
196 *) mod_proxy: Now allow for 191 character worker names, with non-fatal
197 errors if name is truncated. PR53218. [Jim Jagielski]
199 *) mod_ssl: Add optional function "ssl_get_tls_cb" to allow support
200 for channel bindings. [Simo Sorce <simo redhat.com>]
202 *) mod_proxy_wstunnel: Concurrent websockets messages could be
203 lost or delayed with ProxyWebsocketAsync enabled.
204 [Edward Lu <Chaosed0 gmail.com>]
206 *) core, mod_info: Add compiled and loaded PCRE versions to version
207 number display. [Rainer Jung]
209 *) mod_authnz_ldap: Return LDAP connections to the pool before the handler
210 is run, instead of waiting until the end of the request. [Eric Covener]
212 *) mod_log_config: Add GlobalLog to allow a globally defined log to
213 be inherited by virtual hosts that define a CustomLog.
214 [Edward Lu <Chaosed0 gmail.com>]
216 *) mod_proxy_html: support automatic detection of doctype and processing
217 of FPIs. PR56285 [Micha Lenk <micha lenk info>, Nick Kew]
219 *) mod_proxy_html: skip documents shorter than 4 bytes
220 PR 56286 [Micha Lenk <micha lenk info>]
222 *) mod_proxy_fdpass: Fix computation of the size of 'struct sockaddr_un'
223 when passed to 'connect()'.
224 [Graham Dumpleton <grahamd apache org>]
226 *) core: Add ap_mpm_resume_suspended() API to allow a suspended connection
228 [Artem <artemciy gmail.com>, Edward Lu <Chaosed0 gmail.com>]
230 *) core: Add ap_mpm_register_socket_callback_timeout() API. [Eric Covener]
232 *) mod_proxy_wstunnel: Honor ProxyWebsocketIdleTimeout in asynchronous
233 processing mode. [Eric Covener]
235 *) mod_authnz_ldap: Fail explicitly when the filter is too long. Remove
236 unnecessary apr_pstrdup() and strlen(). [Graham Leggett]
238 *) Add the ldap-search option to mod_authnz_ldap, allowing authorization
239 to be based on arbitrary expressions that do not include the username.
242 *) Add the ldap function to the expression API, allowing LDAP filters and
243 distinguished names based on expressions to be escaped correctly to
244 guard against LDAP injection. [Graham Leggett]
246 *) Add module mod_ssl_ct, which provides an implementation of Certificate
247 Transparency (RFC 6962) for httpd. [Jeff Trawick]
249 *) mod_remoteip: Prevent an external proxy from presenting an internal
250 proxy. PR 55962. [Mike Rumph]
252 *) mod_ssl: Add hooks to allow other modules to perform processing at
253 several stages of initialization and connection handling. See
254 mod_ssl_openssl.h. [Jeff Trawick]
256 *) mod_proxy_wstunnel: Avoid sending error responses down an upgraded
257 websockets connection as it is being close down. [Eric Covener]
259 *) mod_proxy_wstunnel: Allow the administrator to cap the amount
260 of time a synchronous websockets connection stays idle with
261 ProxyWebsocketIdleTimeout. [Eric Covener]
263 *) mod_proxy_wstunnel: Change to opt-in for asynchronous support, adding
264 directives ProxyWebsocketAsync and ProxyWebsocketAsyncDelay.
267 *) mod_proxy_wstunnel: Stop leaking websockets backend connections under
268 event MPM (trunk-only). [Eric Covener]
270 *) mod_proxy_http: Add detach_backend hook (potentially usable
271 in other proxy scheme handlers). [Jeff Trawick]
273 *) mod_deflate: Add DeflateAlterETag to control how the ETag
274 is modified. The 'NoChange' parameter mimics 2.2.x behavior.
275 PR 45023, PR 39727. [Eric Covener]
277 *) mod_rewrite: Add 'BNF' (backreferences-no-plus) flag to RewriteRule to
278 allow spaces in backreferences to be encoded as %20 instead of '+'.
281 *) mod_rewrite: Support an optional list of characters to escape in the
282 argument for the 'B' (escape backreferences) flag. [Eric Covener]
284 *) mod_dir: Default to 2.2-like behavior and skip execution when method is
285 neither GET nor POST, such as for DAV requests. PR 54914. [Chris Darroch]
287 *) mod_rewrite: Rename the handler that does per-directory internal
288 redirects to "rewrite-redirect-handler" from "redirect-handler" so
289 it is less ambiguous and less likely to be reused. [Eric Covener]
291 *) mod_rewrite: Protect against looping with the [N] flag by enforcing a
292 default limit of 10000 iterations, and allowing each rule to change its
293 limit. [Eric Covener]
295 *) mod_ssl: Fix config merging of SSLOCSPEnable and SSLOCSPOverrideResponder.
298 *) Add HttpContentLengthHeadZero and HttpExpectStrict directives.
299 [Yehuda Sadeh <yehuda inktank com>, Justin Erenkrantz]
301 *) mod_ssl: Add -t -DDUMP_CA_CERTS option which dumps the filenames of all
302 configured SSL CA certificates to stdout the same way as DUMP_CERTS does.
305 *) mod_ssl: Don't flush when an EOS is received. Prepares mod_ssl
306 to support write completion. [Graham Leggett]
308 *) core: Add parse_errorlog_arg callback to ap_errorlog_provider
309 to allow providers to check the ErrorLog argument. [Jan Kaluza]
311 *) mod_cgid: Use the servers Timeout for each read from a CGI script,
312 allow override with new CGIDRequestTimeout directive. PR43494
313 [Eric Covener, Toshikuni Fukaya <toshikuni-fukaya cybozu co jp>]
315 *) core: ensure any abnormal exit is reported to stderr if it's a tty.
318 *) mod_lua: Let the Inter-VM get/set functions work with a global
319 shared memory pool instead of a per-process pool. [Daniel Gruno]
321 *) ldap: Support ldaps when using the Microsoft LDAP SDK.
322 PR 54626. [Jean-Frederic Clere]
324 *) mod_authnz_ldap: Change default value of AuthLDAPMaxSubGroupDepth to 0
325 to avoid performance problems when subgroups aren't in use. [Eric Covener]
327 *) mod_syslog: New module implementing syslog ap_error_log provider.
328 Previously, this code was part of core, now it's in separate module.
331 *) core: Add ap_errorlog_provider to make ErrorLog logging modular. Move
332 syslog support from core to new mod_syslog. [Jan Kaluza]
334 *) mod_status, mod_echo: Fix the display of client addresses.
335 They were truncated to 31 characters which is not enough for IPv6 addresses.
336 PR 54848 [Bernhard Schmidt <berni birkenwald de>]
338 *) mod_unique_id: Use output of the PRNG rather than IP address and
339 pid, avoiding sleep() call and possible DNS issues at startup,
340 plus improving randomness for IPv6-only hosts.
341 [Jan Kaluza <jkaluza redhat.com>]
343 *) mod_file_cache: mod_file_cache should be able to serve files that
344 haven't had a Content-Type set via e.g. mod_mime. [Eric Covener]
346 *) core: merge AllowEncodedSlashes from the base configuration into
347 virtual hosts. [Eric Covener]
349 *) AIX: Install DSO's with "cp" instead of "install" in instdso.sh
352 *) mod_ldap: Don't keep retrying if a new LDAP connection times out.
355 *) mod_deflate: permit compilation of mod_deflate against a zlib that has
356 been configured with -D Z_PREFIX, which redefines the token "deflate".
359 *) mod_auth_digest: Use the secret when generating nonces in all cases and
360 not only when AuthName is used in .htaccess files (this change may cause
361 problems if used with round robin load balancers). Don't regenerate the
362 secret on graceful restarts. PR 54637 [Stefan Fritsch]
364 *) core: Remove apr_brigade_flatten(), buffering and duplicated code
365 from the HTTP_IN filter, parse chunks in a single pass with zero copy.
366 Reduce memory usage by 48 bytes per request. [Graham Leggett]
368 *) core: Stop the HTTP_IN filter from attempting to write error buckets
369 to the output filters, which is bogus in the proxy case. Create a
370 clean mapping from APR codes to HTTP status codes, and use it where
371 needed. [Graham Leggett]
373 *) mod_proxy: Ensure network errors detected by the proxy are returned as
374 504 Gateway Timout as opposed to 502 Bad Gateway, in order to be
375 compliant with RFC2616 14.9.4 Cache Revalidation and Reload Controls.
377 *) mod_dav: mod_dav overrides dav_fs response on PUT failure. PR 35981
378 [Basant Kumar Kukreja <basant.kukreja sun.com>, Alejandro Alvarez
379 <alejandro.alvarez.ayllon cern.ch>]
381 *) mod_ldap: LDAP connections used for authentication were not respecting
382 LDAPConnectionPoolTimeout. PR 54587
384 *) core: ap_rgetline_core now pulls from r->proto_input_filters.
386 *) mod_proxy_html: process parsed comments immediately.
387 Fixes bug where parsed comments may be lost. [Nick Kew]
389 *) mod_proxy_html: introduce doctype for HTML 5 [Nick Kew]
391 *) mod_proxy_html: fix typo-bug processing "strict" vs "transitional"
392 HTML/XHTML [Nick Kew]
394 *) core: Add option to add valgrind support. Use it to reduce false positive
395 warnings in mod_ssl. [Stefan Fritsch]
397 *) mod_authn_file, mod_authn_dbd, mod_authn_dbm, mod_authn_socache:
398 Cache the result of the most recent password hash verification for every
399 keep-alive connection. This saves some expensive calculations.
402 *) http: Remove support for Request-Range header sent by Navigator 2-3 and
403 MSIE 3. [Stefan Fritsch]
405 *) core, http: Extend HttpProtocol with an option to enforce stricter HTTP
406 conformance or to only log the found problems. [Stefan Fritsch]
408 *) core: Correctly parse an IPv6 literal host specification in an absolute
409 URL in the request line. [Stefan Fritsch]
413 *) core: Add LogLevelOverride directive that allows to override the
414 loglevel for clients from certain IPs. This also works for things
415 like the SSL handshake where <If> LogLevel ... </If> is evaluated
416 too late. [Stefan Fritsch]
418 *) core: Add new directive Warning to issue warnings from a configuration
419 file. Both Warning and Error now generate a timestamped log message.
422 *) ap_expr: Add SERVER_PROTOCOL_VERSION, ..._MAJOR, and ..._MINOR
423 variables. [Stefan Fritsch]
425 *) core: New directive RegisterHttpMethod for registering non-standard
426 HTTP methods. [Stefan Fritsch]
428 *) core: New directive HttpProtocol which allows to disable HTTP/0.9
429 support. [Stefan Fritsch]
431 *) mod_allowhandlers: New module to forbid specific handlers for specific
432 directories. [Stefan Fritsch]
434 *) mod_systemd: New module, for integration with systemd on Linux.
435 [Jan Kaluza <jkaluza redhat.com>]
437 *) WinNT MPM: Store pid and generation for each thread in scoreboard
438 to allow tracking of threads from exiting children via mod_status
439 or other such mechanisms. [Jeff Trawick]
441 *) The following now respect DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR:
442 - APIs: ap_log_pid(), ap_remove_pid, ap_read_pid()
443 - mod_cache: thundering herd lock directory
444 - mod_lbmethod_heartbeat, mod_heartmonitor: heartbeat storage file
445 - mod_ldap: shared memory cache
446 - mod_socache_shmcb, mod_socache_dbm: shared memory or dbm for cache
449 *) suexec: Add --enable-suexec-capabilites support on Linux, to use
450 setuid/setgid capability bits rather than a setuid root binary.
453 *) suexec: Add support for logging to syslog as an alternative to logging
454 to a file; configure --without-suexec-logfile --with-suexec-syslog.
457 *) mod_ssl: Add support for TLS Next Protocol Negotiation. PR 52210.
458 [Matthew Steele <mdsteele google.com>]
460 *) cross-compile: allow to provide CC_FOR_BUILD so that gen_test_char will
461 be compiled by the build compiler instead of the host compiler.
462 Also set CC_FOR_BUILD to 'cc' when cross-compilation is detected.
463 PR 51257. [Guenter Knauf]
465 *) core: In maintainer mode, replace apr_palloc with a version that
466 initializes the allocated memory with non-zero values, except if
467 AP_DEBUG_NO_ALLOC_POISON is defined. [Stefan Fritsch]
469 *) mod_policy: Add a new testing module to help server administrators
470 enforce a configurable level of protocol compliance on their
471 servers and application servers behind theirs. [Graham Leggett]
473 *) mod_firehose: Add a new debugging module able to record traffic
474 passing through the server in such a way that connections and/or
475 requests be reconstructed and replayed. [Graham Leggett]
485 [Apache 2.5.0-dev includes those bug fixes and changes with the
486 Apache 2.4.xx tree as documented below, except as noted.]
488 Changes with Apache 2.4.x and later:
490 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/CHANGES?view=markup
492 Changes with Apache 2.2.x and later:
494 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?view=markup
496 Changes with Apache 2.0.x and later:
498 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/CHANGES?view=markup