2 Changes with Apache 2.5.0
4 *) mpm_winnt: Accept utf-8 (Unicode) service names and descriptions for
5 internationalization. [William Rowe]
7 *) mpm_winnt: Normalize the error and status messages emitted by service.c,
8 the service control interface for Windows. [William Rowe]
10 *) SECURITY: CVE-2013-5704 (cve.mitre.org)
11 core: HTTP trailers could be used to replace HTTP headers
12 late during request processing, potentially undoing or
13 otherwise confusing modules that examined or modified
14 request headers earlier. Adds "MergeTrailers" directive to restore
15 legacy behavior. [Edward Lu, Yann Ylavic, Joe Orton, Eric Covener]
17 *) http_protocol: fix logic in ap_method_list_(add|remove) in order:
18 - to correctly reset bits
19 - not to modify the 'method_mask' bitfield unnecessarily
21 *) mod_log_config: Allow three character log formats to be registered. For
22 backwards compatibility, the first character of a three-character format
23 must be the '^' (caret) character. [Eric Covener]
25 *) mod_authnz_ldap: Return LDAP connections to the pool before the handler
26 is run, instead of waiting until the end of the request. [Eric Covener]
28 *) mod_ldap: Be more conservative with the last-used time for
29 LDAPConnectionPoolTTL. PR54587 [Eric Covener]
31 *) mod_deflate: Don't fail when flushing inflated data to the user-agent
32 and that coincides with the end of stream ("Zlib error flushing inflate
33 buffer"). PR 56196. [Christoph Fausak <christoph fausak glueckkanja.com>]
35 *) mod_proxy: Don't limit the size of the connectable Unix Domain Socket
36 paths. [Christophe Jaillet, Yann Ylavic]
38 *) mod_ssl: dump SSL IO/state for the write side of the connection(s),
39 like reads (level TRACE4). [Yann Ylavic]
41 *) mod_proxy: Shutdown (eg. close notify) the backend connection before
42 closing. [Yann Ylavic]
44 *) mpm_event[opt]: Send the SSL close notify alert when the KeepAliveTimeout
45 expires. PR54998. [Yann Ylavic]
47 *) mod_ssl: Ensure that the SSL close notify alert is flushed to the client.
48 PR54998. [Tim Kosse <tim.kosse filezilla-project.org>, Yann Ylavic]
50 *) mod_log_config: Add GlobalLog to allow a globally defined log to
51 be inherited by virtual hosts that define a CustomLog.
52 [Edward Lu <Chaosed0 gmail.com>]
54 *) MPMs: Support SO_REUSEPORT to create multiple duplicated listener
55 records for scalability. [Yingqi Lu <yingqi.lu@intel.com>,
56 Jeff Trawick, Jim Jagielski]
58 *) mod_proxy_html: support automatic detection of doctype and processing
59 of FPIs. PR56285 [Micha Lenk <micha lenk info>, Nick Kew]
61 *) mod_proxy_html: skip documents shorter than 4 bytes
62 PR 56286 [Micha Lenk <micha lenk info>]
64 *) mod_proxy_fdpass: Fix computation of the size of 'struct sockaddr_un'
65 when passed to 'connect()'.
66 [Graham Dumpleton <grahamd apache org>]
68 *) core: Add ap_mpm_resume_suspended() API to allow a suspended connection
70 [Artem <artemciy gmail.com>, Edward Lu <Chaosed0 gmail.com>]
72 *) core: Add ap_mpm_register_socket_callback_timeout() API. [Eric Covener]
74 *) mod_proxy_wstunnel: Honor ProxyWebsocketIdleTimeout in asynchronous
75 processing mode. [Eric Covener]
77 *) mod_authnz_ldap: Fail explicitly when the filter is too long. Remove
78 unnecessary apr_pstrdup() and strlen(). [Graham Leggett]
80 *) Add the ldap-search option to mod_authnz_ldap, allowing authorization
81 to be based on arbitrary expressions that do not include the username.
84 *) Add the ldap function to the expression API, allowing LDAP filters and
85 distinguished names based on expressions to be escaped correctly to
86 guard against LDAP injection. [Graham Leggett]
88 *) Add module mod_ssl_ct, which provides an implementation of Certificate
89 Transparency (RFC 6962) for httpd. [Jeff Trawick]
91 *) mod_proxy: Preserve original request headers even if they differ
92 from the ones to be forwarded to the backend. PR 45387.
95 *) mod_remoteip: Prevent an external proxy from presenting an internal
96 proxy. PR 55962. [Mike Rumph]
98 *) mod_ssl: Add hooks to allow other modules to perform processing at
99 several stages of initialization and connection handling. See
100 mod_ssl_openssl.h. [Jeff Trawick]
102 *) mod_proxy_wstunnel: Avoid sending error responses down an upgraded
103 websockets connection as it is being close down. [Eric Covener]
105 *) mod_proxy_wstunnel: Allow the administrator to cap the amount
106 of time a synchronous websockets connection stays idle with
107 ProxyWebsocketIdleTimeout. [Eric Covener]
109 *) mod_proxy_wstunnel: Change to opt-in for asynchronous support, adding
110 directives ProxyWebsocketAsync and ProxyWebsocketAsyncDelay.
113 *) mod_proxy_wstunnel: Stop leaking websockets backend connections under
114 event MPM (trunk-only). [Eric Covener]
116 *) mod_proxy_http: Add detach_backend hook (potentially usable
117 in other proxy scheme handlers). [Jeff Trawick]
119 *) mod_deflate: Add DeflateAlterETag to control how the ETag
120 is modified. The 'NoChange' parameter mimics 2.2.x behavior.
121 PR 45023, PR 39727. [Eric Covener]
123 *) mod_rewrite: Add 'BNF' (backreferences-no-plus) flag to RewriteRule to
124 allow spaces in backreferences to be encoded as %20 instead of '+'.
127 *) mod_rewrite: Support an optional list of characters to escape in the
128 argument for the 'B' (escape backreferences) flag. [Eric Covener]
130 *) mod_ssl: Add SSLOCSPUseRequestNonce directive to control whether or not
131 OCSP requests should use a nonce to be checked against the responder's
132 one. PR 56233. [ Yann Ylavic ]
134 *) mod_dir: Default to 2.2-like behavior and skip execution when method is
135 neither GET nor POST, such as for DAV requests. PR 54914. [Chris Darroch]
137 *) mod_rewrite: Rename the handler that does per-directory internal
138 redirects to "rewrite-redirect-handler" from "redirect-handler" so
139 it is less ambiguous and less likely to be reused. [Eric Covener]
141 *) mod_rewrite: Protect against looping with the [N] flag by enforcing a
142 default limit of 10000 iterations, and allowing each rule to change its
143 limit. [Eric Covener]
145 *) mod_ssl: Fix config merging of SSLOCSPEnable and SSLOCSPOverrideResponder.
148 *) Add HttpContentLengthHeadZero and HttpExpectStrict directives.
149 [Yehuda Sadeh <yehuda inktank com>, Justin Erenkrantz]
151 *) mod_ssl: Add -t -DDUMP_CA_CERTS option which dumps the filenames of all
152 configured SSL CA certificates to stdout the same way as DUMP_CERTS does.
155 *) mod_ssl: Don't flush when an EOS is received. Prepares mod_ssl
156 to support write completion. [Graham Leggett]
158 *) core: Add parse_errorlog_arg callback to ap_errorlog_provider
159 to allow providers to check the ErrorLog argument. [Jan Kaluza]
161 *) mod_cgid: Use the servers Timeout for each read from a CGI script,
162 allow override with new CGIDRequestTimeout directive. PR43494
163 [Eric Covener, Toshikuni Fukaya <toshikuni-fukaya cybozu co jp>]
165 *) core: ensure any abnormal exit is reported to stderr if it's a tty.
168 *) mod_lua: Let the Inter-VM get/set functions work with a global
169 shared memory pool instead of a per-process pool. [Daniel Gruno]
171 *) ldap: Support ldaps when using the Microsoft LDAP SDK.
172 PR 54626. [Jean-Frederic Clere]
174 *) mod_proxy: Add ap_connection_reusable() for checking if a connection
175 is reusable as of this point in processing. [Jeff Trawick]
177 *) mod_authnz_ldap: Change default value of AuthLDAPMaxSubGroupDepth to 0
178 to avoid performance problems when subgroups aren't in use. [Eric Covener]
180 *) mod_syslog: New module implementing syslog ap_error_log provider.
181 Previously, this code was part of core, now it's in separate module.
184 *) core: Add ap_errorlog_provider to make ErrorLog logging modular. Move
185 syslog support from core to new mod_syslog. [Jan Kaluza]
187 *) mod_status, mod_echo: Fix the display of client addresses.
188 They were truncated to 31 characters which is not enough for IPv6 addresses.
189 PR 54848 [Bernhard Schmidt <berni birkenwald de>]
191 *) core: Add ap_log_data(), ap_log_rdata(), etc. for logging buffers.
194 *) mod_unique_id: Use output of the PRNG rather than IP address and
195 pid, avoiding sleep() call and possible DNS issues at startup,
196 plus improving randomness for IPv6-only hosts.
197 [Jan Kaluza <jkaluza redhat.com>]
199 *) mod_authnz_ldap: Support primitive LDAP servers that do not accept
200 filters, such as "SDBM-backed LDAP" on z/OS, by allowing a special
201 filter "none" to be specified in AuthLDAPURL. [Eric Covener]
203 *) mod_file_cache: mod_file_cache should be able to serve files that
204 haven't had a Content-Type set via e.g. mod_mime. [Eric Covener]
206 *) core: merge AllowEncodedSlashes from the base configuration into
207 virtual hosts. [Eric Covener]
209 *) AIX: Install DSO's with "cp" instead of "install" in instdso.sh
212 *) mod_ldap: Don't keep retrying if a new LDAP connection times out.
215 *) mod_deflate: permit compilation of mod_deflate against a zlib that has
216 been configured with -D Z_PREFIX, which redefines the token "deflate".
219 *) mod_auth_digest: Use the secret when generating nonces in all cases and
220 not only when AuthName is used in .htaccess files (this change may cause
221 problems if used with round robin load balancers). Don't regenerate the
222 secret on graceful restarts. PR 54637 [Stefan Fritsch]
224 *) core: Remove apr_brigade_flatten(), buffering and duplicated code
225 from the HTTP_IN filter, parse chunks in a single pass with zero copy.
226 Reduce memory usage by 48 bytes per request. [Graham Leggett]
228 *) core: Stop the HTTP_IN filter from attempting to write error buckets
229 to the output filters, which is bogus in the proxy case. Create a
230 clean mapping from APR codes to HTTP status codes, and use it where
231 needed. [Graham Leggett]
233 *) mod_proxy: Ensure network errors detected by the proxy are returned as
234 504 Gateway Timout as opposed to 502 Bad Gateway, in order to be
235 compliant with RFC2616 14.9.4 Cache Revalidation and Reload Controls.
237 *) mod_dav: mod_dav overrides dav_fs response on PUT failure. PR 35981
238 [Basant Kumar Kukreja <basant.kukreja sun.com>, Alejandro Alvarez
239 <alejandro.alvarez.ayllon cern.ch>]
241 *) mod_ldap: LDAP connections used for authentication were not respecting
242 LDAPConnectionPoolTimeout. PR 54587
244 *) core: ap_rgetline_core now pulls from r->proto_input_filters.
246 *) mod_proxy_html: process parsed comments immediately.
247 Fixes bug where parsed comments may be lost. [Nick Kew]
249 *) mod_proxy_html: introduce doctype for HTML 5 [Nick Kew]
251 *) mod_proxy_html: fix typo-bug processing "strict" vs "transitional"
252 HTML/XHTML [Nick Kew]
254 *) core: Add option to add valgrind support. Use it to reduce false positive
255 warnings in mod_ssl. [Stefan Fritsch]
257 *) mod_authn_file, mod_authn_dbd, mod_authn_dbm, mod_authn_socache:
258 Cache the result of the most recent password hash verification for every
259 keep-alive connection. This saves some expensive calculations.
262 *) http: Remove support for Request-Range header sent by Navigator 2-3 and
263 MSIE 3. [Stefan Fritsch]
265 *) core, http: Extend HttpProtocol with an option to enforce stricter HTTP
266 conformance or to only log the found problems. [Stefan Fritsch]
268 *) core: Correctly parse an IPv6 literal host specification in an absolute
269 URL in the request line. [Stefan Fritsch]
273 *) core: Add LogLevelOverride directive that allows to override the
274 loglevel for clients from certain IPs. This also works for things
275 like the SSL handshake where <If> LogLevel ... </If> is evaluated
276 too late. [Stefan Fritsch]
278 *) core: Add new directive Warning to issue warnings from a configuration
279 file. Both Warning and Error now generate a timestamped log message.
282 *) ap_expr: Add SERVER_PROTOCOL_VERSION, ..._MAJOR, and ..._MINOR
283 variables. [Stefan Fritsch]
285 *) core: New directive RegisterHttpMethod for registering non-standard
286 HTTP methods. [Stefan Fritsch]
288 *) core: New directive HttpProtocol which allows to disable HTTP/0.9
289 support. [Stefan Fritsch]
291 *) mod_allowhandlers: New module to forbid specific handlers for specific
292 directories. [Stefan Fritsch]
294 *) mod_systemd: New module, for integration with systemd on Linux.
295 [Jan Kaluza <jkaluza redhat.com>]
297 *) WinNT MPM: Store pid and generation for each thread in scoreboard
298 to allow tracking of threads from exiting children via mod_status
299 or other such mechanisms. [Jeff Trawick]
301 *) The following now respect DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR:
302 - APIs: ap_log_pid(), ap_remove_pid, ap_read_pid()
303 - core: the scoreboard (ScoreBoardFile), pid file (PidFile), and
305 - mod_cache: thundering herd lock directory
306 - mod_lbmethod_heartbeat, mod_heartmonitor: heartbeat storage file
307 - mod_ldap: shared memory cache
308 - mod_socache_shmcb, mod_socache_dbm: shared memory or dbm for cache
311 *) suexec: Add --enable-suexec-capabilites support on Linux, to use
312 setuid/setgid capability bits rather than a setuid root binary.
315 *) suexec: Add support for logging to syslog as an alternative to logging
316 to a file; configure --without-suexec-logfile --with-suexec-syslog.
319 *) mod_ssl: Add support for TLS Next Protocol Negotiation. PR 52210.
320 [Matthew Steele <mdsteele google.com>]
322 *) cross-compile: allow to provide CC_FOR_BUILD so that gen_test_char will
323 be compiled by the build compiler instead of the host compiler.
324 Also set CC_FOR_BUILD to 'cc' when cross-compilation is detected.
325 PR 51257. [Guenter Knauf]
327 *) core: In maintainer mode, replace apr_palloc with a version that
328 initializes the allocated memory with non-zero values, except if
329 AP_DEBUG_NO_ALLOC_POISON is defined. [Stefan Fritsch]
331 *) mod_policy: Add a new testing module to help server administrators
332 enforce a configurable level of protocol compliance on their
333 servers and application servers behind theirs. [Graham Leggett]
335 *) mod_firehose: Add a new debugging module able to record traffic
336 passing through the server in such a way that connections and/or
337 requests be reconstructed and replayed. [Graham Leggett]
347 [Apache 2.5.0-dev includes those bug fixes and changes with the
348 Apache 2.4.xx tree as documented below, except as noted.]
350 Changes with Apache 2.4.x and later:
352 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/CHANGES?view=markup
354 Changes with Apache 2.2.x and later:
356 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?view=markup
358 Changes with Apache 2.0.x and later:
360 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/CHANGES?view=markup