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