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