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