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