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