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