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