2 Changes with Apache 2.5.0
4 *) mod_http2: fixed compile issues re cc's with builtin log2n, fixed cache
5 digest calculation. [Stefan Eissing]
7 pushed resources are kept. See directive H2PushDiarySize for managing this.
8 *) core: Add expression support to SetHandler.
11 *) mod_proxy_fcgi: Suppress HTTP error 503 and message 01075,
12 "Error dispatching request", when the cause appears to be
13 due to the client closing the connection.
14 PR58118. [Tobias Adolph <adolph lrz.de>]
16 *) mod_cgid: Message 02550, failure to flush a response to the client,
17 is now logged at TRACE1 level to match the underlying core output filter
18 severity. [Eric Covener]
20 *) mod_http2: connection how keep a "push diary" where hashes of already
21 pushed resources are kept. See directive H2PushDiarySize for managing this.
22 Push diaries can be initialized by clients via the "Cache-Digest" request
23 header. This carries a base64url encoded. compressed Golomb set as described
24 in https://datatracker.ietf.org/doc/draft-kazuho-h2-cache-digest/
25 Introduced a status handler for HTTP/2 connections, giving various counters
26 and statistics about the current connection, plus its cache digest value
27 in a JSON record. Not a replacement for more HTTP/2 in the server status.
29 <Location "/http2-status">
30 SetHandler http2-status
34 *) mod_rewrite: Avoid looping on relative substitutions that
35 result in the same filename we started with. PR 58854.
38 *) mime.types: add common extension "m4a" for MPEG 4 Audio.
39 PR 57895 [Dylan Millikin <dylan.millikin gmail.com>]
41 *) mod_http2: async reading for http2 connections disabled for now. Fixed
42 flushing of last GOAWAY frame. Fixed calculation of last stream id
43 accepted as described in rfc7540. Reading in KEEPALIVE state now
44 correctly show in scoreboard. Fixed possible race in connection
45 shutdown after review by Ylavic. [Stefan Eissing]
47 *) mod_ssl: Save some TLS record (application data) fragmentations by
48 including the last and subsequent suitable buckets when coalescing.
51 *) mod_cache_socache: Fix a possible cached entity body corruption when it
52 is received from an origin server in multiple batches and forwarded by
53 mod_proxy. [Yann Ylavic]
55 *) mod_http2: Fixed segfault on connection shutdown, callback ran into a semi
56 dismantled session. Added support for experimental accept-push-policy draft
57 (https://tools.ietf.org/html/draft-ruellan-http-accept-push-policy-00). Clients
58 may now influence server pushes by sending accept-push-policy headers.
61 *) mod_http2: On async MPMs (event), idle HTTP/2 connections will enter KEEPALIVE
62 state and become eligible for MPM cleanup under load. Rewrote connection
63 state handling. Defaults for H2KeepAliveTimeout shortened. Cleaned up logging.
64 Improved scoreboard updates for http2 master threads.
67 *) mod_http2: new r->subprocess_env variables HTTP2 and H2PUSH, set to "on"
68 when available for request.
71 *) mod_http2: adding new config directives and the implementation behind
72 them: H2Timeout, H2KeepAliveTimeout, H2StreamTimeout. Documentation in
76 *) mod_http2: when running in async mpm processing, mod_http2 will cease
77 processing on idle connections (e.g. no open streams) back to the mpm.
80 *) mod_http2: fixed bug in input window size calculation by moving chunked
81 request body encoding into later stage of processing.
84 *) mod_proxy_fdpass: Fix AH01153 error when using the default configuration.
85 In earlier version of httpd, you can explicitelly set the 'flusher' parameter
86 to 'flush' as a workaround. (i.e. flusher=flush)
87 Add documentation for the 'flusher' parameter when defining a proxy worker.
90 *) mod_ssl: For the "SSLStaplingReturnResponderErrors off" case, make sure
91 to only staple responses with certificate status "good". [Kaspar Brand]
93 *) core: Limit to ten the number of tolerated empty lines between request,
94 and consume them before the pipelining check to avoid possible response
95 delay when reading the next request without flushing. [Yann Ylavic]
97 *) mod_session: Introduce SessionExpiryUpdateInterval which allows to
98 configure the session/cookie expiry's update interval. PR 57300.
99 [Paul Spangler <paul.spangler ni.com>]
101 *) core: Extend support for asynchronous write completion from the
102 network filter to any connection or request filter. [Graham Leggett]
104 *) mpm_event: Free memory earlier when shutting down processes.
107 *) mod_ssl: Make the output filter more friendly with deferred write and
108 response pipelining. [Yann Ylavic, Joe Orton]
110 *) core/util_script: relax alphanumeric filter of environment variable names
111 on Windows to allow '(' and ')' for passing PROGRAMFILES(X86) et.al.
112 unadulterated in 64 bit versions of Windows. PR 46751.
113 [John <john leineweb de>]
115 *) mod_auth_digest: remove AuthDigestEnableQueryStringHack which is no
116 more documented since dec 2012 (r1415960). [Christophe Jaillet]
118 *) mod_charset_lite: On EBCDIC platforms, make sure mod_charset_lite runs
119 after other resource-level filters. [Eric Covener]
121 *) mod_dir: Responses that go through "FallbackResource" might appear to
122 hang due to unterminated chunked encoding. PR58292. [Eric Covener]
124 *) mod_alias: Limit Redirect expressions to directory (Location) context
125 and redirect statuses (implicit or explicit).
126 [Yann Ylavic, Ruediger Pluem]
128 *) mod_substitute: Fix configuraton merge order.
129 PR 57641 [<Marc.Stern approach.be>]
131 *) mod_ssl: When SSLVerify is disabled (NONE), don't force a renegotiation if
132 the SSLVerifyDepth applied with the default/handshaken vhost differs from
133 the one applicable with the finally selected vhost. [Yann Ylavic]
135 *) http: Don't remove the Content-Length of zero from a HEAD response if
136 it comes from an origin server, module or script. [Yann Ylavic]
138 *) http: Add support for RFC2324/RFC7168. [Graham Leggett]
140 *) mod_rewrite: Add support for starting External Rewriting Programs
141 as non-root user on UNIX systems by specifying username and group name
142 as third argument of RewriteMap directive. [Jan Kaluza]
144 *) mod_authn_core: Add expression support to AuthName and AuthType.
147 *) suexec: Filter out the HTTP_PROXY environment variable because it is
148 treated as alias for http_proxy by some programs. [Stefan Fritsch]
150 *) mod_proxy_http: Don't establish or reuse a backend connection before pre-
151 fetching the request body, so to minimize the delay between it is supposed
152 to be alive and the first bytes sent: this is a best effort to prevent the
153 backend from closing because of idle or keepalive timeout in the meantime.
154 Also, handle a new "proxy-flushall" environment variable which allows to
155 flush any forwarded body data immediately. PR 56541+37920. [Yann Ylavic]
157 *) core: Define and UnDefine are no longer permitted in
158 directory context. Previously they would always be evaulated
159 as the configuration was read without regard for the directory
160 context. [Eric Covener]
162 *) config: For directives that do not expect any arguments, enforce
163 that none are specified in the configuration file.
164 [Joachim Zobel <jzobel heute-morgen.de>, Eric Covener]
166 *) mod_rewrite: Improve 'bad flag delimeters' startup error by showing
167 how the input was tokenized. PR 56528. [Edward Lu <Chaosed0 gmail.com>]
169 *) mod_proxy: Don't put non balancer-member workers in error state by
170 default for connection or 500/503 errors, and honor status=+I for
171 any error. PR 48388. [Yann Ylavic]
173 *) mod_socache_memcache: Pass expiration time through to memcached. PR 55445.
174 [Faidon Liambotis <paravoid debian.org>, Joe Orton]
176 *) ap_expr: Add filemod function for checking file modification dates
179 *) mod_authnz_ldap: Resolve crashes with LDAP authz and non-LDAP authn since
180 r1608202. [Eric Covener]
182 *) core: Ensure that httpd exits with an error status when the MPM fails
183 to run. [Yann Ylavic]
185 *) apreq: Content-Length header should be always interpreted as a decimal.
186 Leading 0 could be erroneously considered as an octal value. PR 56598.
187 [Chris Card <ctcard hotmail com>]
189 *) mod_proxy: Now allow for 191 character worker names, with non-fatal
190 errors if name is truncated. PR53218. [Jim Jagielski]
192 *) mod_ssl: Add optional function "ssl_get_tls_cb" to allow support
193 for channel bindings. [Simo Sorce <simo redhat.com>]
195 *) mod_proxy_wstunnel: Concurrent websockets messages could be
196 lost or delayed with ProxyWebsocketAsync enabled.
197 [Edward Lu <Chaosed0 gmail.com>]
199 *) core, mod_info: Add compiled and loaded PCRE versions to version
200 number display. [Rainer Jung]
202 *) mod_authnz_ldap: Return LDAP connections to the pool before the handler
203 is run, instead of waiting until the end of the request. [Eric Covener]
205 *) mod_log_config: Add GlobalLog to allow a globally defined log to
206 be inherited by virtual hosts that define a CustomLog.
207 [Edward Lu <Chaosed0 gmail.com>]
209 *) mod_proxy_html: support automatic detection of doctype and processing
210 of FPIs. PR56285 [Micha Lenk <micha lenk info>, Nick Kew]
212 *) mod_proxy_html: skip documents shorter than 4 bytes
213 PR 56286 [Micha Lenk <micha lenk info>]
215 *) mod_proxy_fdpass: Fix computation of the size of 'struct sockaddr_un'
216 when passed to 'connect()'.
217 [Graham Dumpleton <grahamd apache org>]
219 *) core: Add ap_mpm_resume_suspended() API to allow a suspended connection
221 [Artem <artemciy gmail.com>, Edward Lu <Chaosed0 gmail.com>]
223 *) core: Add ap_mpm_register_socket_callback_timeout() API. [Eric Covener]
225 *) mod_proxy_wstunnel: Honor ProxyWebsocketIdleTimeout in asynchronous
226 processing mode. [Eric Covener]
228 *) mod_authnz_ldap: Fail explicitly when the filter is too long. Remove
229 unnecessary apr_pstrdup() and strlen(). [Graham Leggett]
231 *) Add the ldap-search option to mod_authnz_ldap, allowing authorization
232 to be based on arbitrary expressions that do not include the username.
235 *) Add the ldap function to the expression API, allowing LDAP filters and
236 distinguished names based on expressions to be escaped correctly to
237 guard against LDAP injection. [Graham Leggett]
239 *) Add module mod_ssl_ct, which provides an implementation of Certificate
240 Transparency (RFC 6962) for httpd. [Jeff Trawick]
242 *) mod_remoteip: Prevent an external proxy from presenting an internal
243 proxy. PR 55962. [Mike Rumph]
245 *) mod_ssl: Add hooks to allow other modules to perform processing at
246 several stages of initialization and connection handling. See
247 mod_ssl_openssl.h. [Jeff Trawick]
249 *) mod_proxy_wstunnel: Avoid sending error responses down an upgraded
250 websockets connection as it is being close down. [Eric Covener]
252 *) mod_proxy_wstunnel: Allow the administrator to cap the amount
253 of time a synchronous websockets connection stays idle with
254 ProxyWebsocketIdleTimeout. [Eric Covener]
256 *) mod_proxy_wstunnel: Change to opt-in for asynchronous support, adding
257 directives ProxyWebsocketAsync and ProxyWebsocketAsyncDelay.
260 *) mod_proxy_wstunnel: Stop leaking websockets backend connections under
261 event MPM (trunk-only). [Eric Covener]
263 *) mod_proxy_http: Add detach_backend hook (potentially usable
264 in other proxy scheme handlers). [Jeff Trawick]
266 *) mod_deflate: Add DeflateAlterETag to control how the ETag
267 is modified. The 'NoChange' parameter mimics 2.2.x behavior.
268 PR 45023, PR 39727. [Eric Covener]
270 *) mod_rewrite: Add 'BNF' (backreferences-no-plus) flag to RewriteRule to
271 allow spaces in backreferences to be encoded as %20 instead of '+'.
274 *) mod_rewrite: Support an optional list of characters to escape in the
275 argument for the 'B' (escape backreferences) flag. [Eric Covener]
277 *) mod_dir: Default to 2.2-like behavior and skip execution when method is
278 neither GET nor POST, such as for DAV requests. PR 54914. [Chris Darroch]
280 *) mod_rewrite: Rename the handler that does per-directory internal
281 redirects to "rewrite-redirect-handler" from "redirect-handler" so
282 it is less ambiguous and less likely to be reused. [Eric Covener]
284 *) mod_rewrite: Protect against looping with the [N] flag by enforcing a
285 default limit of 10000 iterations, and allowing each rule to change its
286 limit. [Eric Covener]
288 *) mod_ssl: Fix config merging of SSLOCSPEnable and SSLOCSPOverrideResponder.
291 *) Add HttpContentLengthHeadZero and HttpExpectStrict directives.
292 [Yehuda Sadeh <yehuda inktank com>, Justin Erenkrantz]
294 *) mod_ssl: Add -t -DDUMP_CA_CERTS option which dumps the filenames of all
295 configured SSL CA certificates to stdout the same way as DUMP_CERTS does.
298 *) mod_ssl: Don't flush when an EOS is received. Prepares mod_ssl
299 to support write completion. [Graham Leggett]
301 *) core: Add parse_errorlog_arg callback to ap_errorlog_provider
302 to allow providers to check the ErrorLog argument. [Jan Kaluza]
304 *) mod_cgid: Use the servers Timeout for each read from a CGI script,
305 allow override with new CGIDRequestTimeout directive. PR43494
306 [Eric Covener, Toshikuni Fukaya <toshikuni-fukaya cybozu co jp>]
308 *) core: ensure any abnormal exit is reported to stderr if it's a tty.
311 *) mod_lua: Let the Inter-VM get/set functions work with a global
312 shared memory pool instead of a per-process pool. [Daniel Gruno]
314 *) ldap: Support ldaps when using the Microsoft LDAP SDK.
315 PR 54626. [Jean-Frederic Clere]
317 *) mod_authnz_ldap: Change default value of AuthLDAPMaxSubGroupDepth to 0
318 to avoid performance problems when subgroups aren't in use. [Eric Covener]
320 *) mod_syslog: New module implementing syslog ap_error_log provider.
321 Previously, this code was part of core, now it's in separate module.
324 *) core: Add ap_errorlog_provider to make ErrorLog logging modular. Move
325 syslog support from core to new mod_syslog. [Jan Kaluza]
327 *) mod_status, mod_echo: Fix the display of client addresses.
328 They were truncated to 31 characters which is not enough for IPv6 addresses.
329 PR 54848 [Bernhard Schmidt <berni birkenwald de>]
331 *) mod_unique_id: Use output of the PRNG rather than IP address and
332 pid, avoiding sleep() call and possible DNS issues at startup,
333 plus improving randomness for IPv6-only hosts.
334 [Jan Kaluza <jkaluza redhat.com>]
336 *) mod_file_cache: mod_file_cache should be able to serve files that
337 haven't had a Content-Type set via e.g. mod_mime. [Eric Covener]
339 *) core: merge AllowEncodedSlashes from the base configuration into
340 virtual hosts. [Eric Covener]
342 *) AIX: Install DSO's with "cp" instead of "install" in instdso.sh
345 *) mod_ldap: Don't keep retrying if a new LDAP connection times out.
348 *) mod_deflate: permit compilation of mod_deflate against a zlib that has
349 been configured with -D Z_PREFIX, which redefines the token "deflate".
352 *) mod_auth_digest: Use the secret when generating nonces in all cases and
353 not only when AuthName is used in .htaccess files (this change may cause
354 problems if used with round robin load balancers). Don't regenerate the
355 secret on graceful restarts. PR 54637 [Stefan Fritsch]
357 *) core: Remove apr_brigade_flatten(), buffering and duplicated code
358 from the HTTP_IN filter, parse chunks in a single pass with zero copy.
359 Reduce memory usage by 48 bytes per request. [Graham Leggett]
361 *) core: Stop the HTTP_IN filter from attempting to write error buckets
362 to the output filters, which is bogus in the proxy case. Create a
363 clean mapping from APR codes to HTTP status codes, and use it where
364 needed. [Graham Leggett]
366 *) mod_proxy: Ensure network errors detected by the proxy are returned as
367 504 Gateway Timout as opposed to 502 Bad Gateway, in order to be
368 compliant with RFC2616 14.9.4 Cache Revalidation and Reload Controls.
370 *) mod_dav: mod_dav overrides dav_fs response on PUT failure. PR 35981
371 [Basant Kumar Kukreja <basant.kukreja sun.com>, Alejandro Alvarez
372 <alejandro.alvarez.ayllon cern.ch>]
374 *) mod_ldap: LDAP connections used for authentication were not respecting
375 LDAPConnectionPoolTimeout. PR 54587
377 *) core: ap_rgetline_core now pulls from r->proto_input_filters.
379 *) mod_proxy_html: process parsed comments immediately.
380 Fixes bug where parsed comments may be lost. [Nick Kew]
382 *) mod_proxy_html: introduce doctype for HTML 5 [Nick Kew]
384 *) mod_proxy_html: fix typo-bug processing "strict" vs "transitional"
385 HTML/XHTML [Nick Kew]
387 *) core: Add option to add valgrind support. Use it to reduce false positive
388 warnings in mod_ssl. [Stefan Fritsch]
390 *) mod_authn_file, mod_authn_dbd, mod_authn_dbm, mod_authn_socache:
391 Cache the result of the most recent password hash verification for every
392 keep-alive connection. This saves some expensive calculations.
395 *) http: Remove support for Request-Range header sent by Navigator 2-3 and
396 MSIE 3. [Stefan Fritsch]
398 *) core, http: Extend HttpProtocol with an option to enforce stricter HTTP
399 conformance or to only log the found problems. [Stefan Fritsch]
401 *) core: Correctly parse an IPv6 literal host specification in an absolute
402 URL in the request line. [Stefan Fritsch]
406 *) core: Add LogLevelOverride directive that allows to override the
407 loglevel for clients from certain IPs. This also works for things
408 like the SSL handshake where <If> LogLevel ... </If> is evaluated
409 too late. [Stefan Fritsch]
411 *) core: Add new directive Warning to issue warnings from a configuration
412 file. Both Warning and Error now generate a timestamped log message.
415 *) ap_expr: Add SERVER_PROTOCOL_VERSION, ..._MAJOR, and ..._MINOR
416 variables. [Stefan Fritsch]
418 *) core: New directive RegisterHttpMethod for registering non-standard
419 HTTP methods. [Stefan Fritsch]
421 *) core: New directive HttpProtocol which allows to disable HTTP/0.9
422 support. [Stefan Fritsch]
424 *) mod_allowhandlers: New module to forbid specific handlers for specific
425 directories. [Stefan Fritsch]
427 *) mod_systemd: New module, for integration with systemd on Linux.
428 [Jan Kaluza <jkaluza redhat.com>]
430 *) WinNT MPM: Store pid and generation for each thread in scoreboard
431 to allow tracking of threads from exiting children via mod_status
432 or other such mechanisms. [Jeff Trawick]
434 *) The following now respect DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR:
435 - APIs: ap_log_pid(), ap_remove_pid, ap_read_pid()
436 - mod_cache: thundering herd lock directory
437 - mod_lbmethod_heartbeat, mod_heartmonitor: heartbeat storage file
438 - mod_ldap: shared memory cache
439 - mod_socache_shmcb, mod_socache_dbm: shared memory or dbm for cache
442 *) suexec: Add --enable-suexec-capabilites support on Linux, to use
443 setuid/setgid capability bits rather than a setuid root binary.
446 *) suexec: Add support for logging to syslog as an alternative to logging
447 to a file; configure --without-suexec-logfile --with-suexec-syslog.
450 *) mod_ssl: Add support for TLS Next Protocol Negotiation. PR 52210.
451 [Matthew Steele <mdsteele google.com>]
453 *) cross-compile: allow to provide CC_FOR_BUILD so that gen_test_char will
454 be compiled by the build compiler instead of the host compiler.
455 Also set CC_FOR_BUILD to 'cc' when cross-compilation is detected.
456 PR 51257. [Guenter Knauf]
458 *) core: In maintainer mode, replace apr_palloc with a version that
459 initializes the allocated memory with non-zero values, except if
460 AP_DEBUG_NO_ALLOC_POISON is defined. [Stefan Fritsch]
462 *) mod_policy: Add a new testing module to help server administrators
463 enforce a configurable level of protocol compliance on their
464 servers and application servers behind theirs. [Graham Leggett]
466 *) mod_firehose: Add a new debugging module able to record traffic
467 passing through the server in such a way that connections and/or
468 requests be reconstructed and replayed. [Graham Leggett]
478 [Apache 2.5.0-dev includes those bug fixes and changes with the
479 Apache 2.4.xx tree as documented below, except as noted.]
481 Changes with Apache 2.4.x and later:
483 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/CHANGES?view=markup
485 Changes with Apache 2.2.x and later:
487 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?view=markup
489 Changes with Apache 2.0.x and later:
491 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/CHANGES?view=markup