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