]> granicus.if.org Git - apache/blob - CHANGES
in 2.4.24-dev
[apache] / CHANGES
1                                                          -*- coding: utf-8 -*-
2 Changes with Apache 2.5.0
3
4   *) mod_lua: Fix default value of LuaInherit directive. It should be 
5      'parent-first' instead of 'none', as per documentation.  PR 60419
6      [Christophe Jaillet]
7
8   *) mod_ratelimit: Allow for initial "burst" amount at full speed before
9      throttling: PR 60145 [Andy Valencia <ajv-etradanalhos vsta.org>,
10      Jim Jagielski]
11
12   *) event: Allow to use the whole allocated scoreboard (up to ServerLimit
13      slots) to avoid scoreboard full errors when some processes are finishing
14      gracefully. Also, make gracefully finishing processes close all
15      keep-alive connections. PR 53555. [Stefan Fritsch]
16
17   *) http: Allow unknown response status' lines returned in the form of
18      "HTTP/x.x xxx Status xxx".  [Yann Ylavic]
19
20   *) core: Add <IfFile> configuration section to allow any file on disk to be
21      used as a conditional.  [Edward Lu, Eric Covener]
22
23   *) event: Avoid listener periodic wake ups by using the pollset wake-ability
24      when available.  PR 57399.  [Yann Ylavic, Luca Toscano]
25
26   *) mod_brotli: Add a new module for dynamic Brotli (RFC 7932) compression.
27      [Evgeny Kotkov]
28
29   *) core: Permit unencoded ';' characters to appear in proxy requests and
30      Location: response headers. Corresponds to modern browser behavior.
31      [William Rowe]
32
33   *) mod_cache: Use the actual URI path and query-string for identifying the
34      cached entity (key), such that rewrites are taken into account when
35      running afterwards (CacheQuickHandler off).  PR 21935.  [Yann Ylavic]
36
37   *) mod_ssl: Fix quick renegotiation (OptRenegotiaton) with no intermediate
38      in the client certificate chain.  PR 55786.  [Yann Ylavic]
39
40   *) mod_reqtimeout: Fix body timeout disabling for CONNECT requests to avoid
41      triggering mod_proxy_connect's AH01018 once the tunnel is established.
42      [Yann Ylavic]
43
44   *) mod_crypto: Add the all purpose crypto filters with support for HLS.
45      [Graham Leggett]
46
47   *) core: Drop an invalid Last-Modified header value coming
48      from a FCGI/CGI script instead of replacing it with Unix epoch.
49      Warn the users about Last-Modified header value replacements
50      and violations of the RFC.
51      [Yann Ylavic, Luca Toscano, William Rowe, Jacob Champion]
52
53   *) mod_dav: Allow other modules to become providers and add ACLs
54      to the DAV response.
55      [Jari Urpalainen <jari.urpalainen nokia.com>, Graham Leggett]
56
57   *) mod_dav: Add dav_begin_multistatus, dav_send_one_response,
58      dav_finish_multistatus, dav_send_multistatus, dav_handle_err,
59      dav_failed_proppatch, dav_success_proppatch to mod_dav.h.
60      [Jari Urpalainen <jari.urpalainen nokia.com>, Graham Leggett]
61
62   *) mod_proxy, mod_ssl: Handle SSLProxy* directives in <Proxy> sections,
63      allowing per backend TLS configuration.  [Yann Ylavic]
64
65   *) core: explicitly exclude 'h2' from protocols announced via an Upgrade: 
66      header as commanded by http-wg. [Stefan Eissing]
67
68   *) mod_proxy_ajp: Add "secret" parameter to proxy workers to implement legacy
69      AJP13 authentication.  PR 53098.  [Dmitry A. Bakshaev <dab1818 gmail com>]
70
71   *) mpm: Generalise the ap_mpm_register_socket functions to accept pipes
72      or sockets. [Graham Leggett]
73
74   *) core: Extend support for setting aside data from the network input filter
75      to any connection or request input filter. [Graham Leggett]
76
77   *) core: Split ap_create_request() from ap_read_request(). [Graham Leggett]
78
79   *) mod_auth_digest: Fix compatibility with expression-based Authname. PR59039.
80      [Eric Covener]
81
82   *) mpm: Add a complete_connection hook that confirms whether an MPM is allowed
83      to leave the WRITE_COMPLETION phase. Move filter code out of the MPMs.
84      [Graham Leggett]
85
86   *) core: Added support for HTTP code 451. PR58985.
87      [Yehuda Katz <yehuda ymkatz.net>, Jim Jagielski]
88
89   *) mod_ssl: Add support for OpenSSL 1.1.0. [Rainer Jung]
90
91   *) mod_filter: Fix AddOutputFilterByType with non-content-level filters.
92      PR58856 [Micha Lenk <micha lenk.info>]
93
94   *) mod_cache: Consider Cache-Control: s-maxage in expiration
95      calculations.  [Eric Covener]
96
97   *) mod_cache: Allow caching of responses with an Expires header
98      in the past that also has Cache-Control: max-age or s-maxage.
99      PR55156. [Eric Covener]
100
101   *) Added many log numbers to log statements that had none.
102
103   *) mod_session: Introduce SessionExpiryUpdateInterval which allows to
104      configure the session/cookie expiry's update interval. PR 57300.
105      [Paul Spangler <paul.spangler ni.com>]
106
107   *) core: Extend support for asynchronous write completion from the
108      network filter to any connection or request filter. [Graham Leggett]
109
110   *) mod_auth_digest: remove AuthDigestEnableQueryStringHack which is no
111      more documented since dec 2012 (r1415960). [Christophe Jaillet]
112
113   *) mod_charset_lite: On EBCDIC platforms, make sure mod_charset_lite runs
114      after other resource-level filters. [Eric Covener]
115
116   *) http: Don't remove the Content-Length of zero from a HEAD response if
117      it comes from an origin server, module or script.  [Yann Ylavic]
118
119   *) http: Add support for RFC2324/RFC7168. [Graham Leggett]
120
121   *) mod_rewrite: Add support for starting External Rewriting Programs
122      as non-root user on UNIX systems by specifying username and group name
123      as third argument of RewriteMap directive. [Jan Kaluza]
124
125   *) mod_authn_core: Add expression support to AuthName and AuthType.
126      [Graham Leggett]
127
128   *) suexec: Filter out the HTTP_PROXY environment variable because it is
129      treated as alias for http_proxy by some programs. [Stefan Fritsch]
130
131   *) mod_proxy_http: Don't establish or reuse a backend connection before pre-
132      fetching the request body, so to minimize the delay between it is supposed
133      to be alive and the first bytes sent: this is a best effort to prevent the
134      backend from closing because of idle or keepalive timeout in the meantime.
135      Also, handle a new "proxy-flushall" environment variable which allows to
136      flush any forwarded body data immediately. PR 56541+37920. [Yann Ylavic]
137
138   *) core: Define and UnDefine are no longer permitted in
139      directory context. Previously they would always be evaulated
140      as the configuration was read without regard for the directory
141      context. [Eric Covener]
142
143   *) config: For directives that do not expect any arguments, enforce
144      that none are specified in the configuration file. 
145      [Joachim Zobel <jzobel heute-morgen.de>, Eric Covener]
146
147   *) mod_rewrite: Improve 'bad flag delimeters' startup error by showing
148      how the input was tokenized.  PR 56528. [Edward Lu <Chaosed0 gmail.com>]
149
150   *) mod_proxy: Don't put non balancer-member workers in error state by
151      default for connection or 500/503 errors, and honor status=+I for
152      any error.  PR 48388.  [Yann Ylavic]
153
154   *) mod_socache_memcache: Pass expiration time through to memcached. PR 55445.
155      [Faidon Liambotis <paravoid debian.org>, Joe Orton]
156
157   *) ap_expr: Add filemod function for checking file modification dates
158      [Daniel Gruno]
159
160   *) mod_authnz_ldap: Resolve crashes with LDAP authz and non-LDAP authn since 
161      r1608202. [Eric Covener]
162
163   *) apreq: Content-Length header should be always interpreted as a decimal.
164      Leading 0 could be erroneously considered as an octal value. PR 56598.
165      [Chris Card <ctcard hotmail com>]
166
167   *) mod_proxy: Now allow for 191 character worker names, with non-fatal
168      errors if name is truncated. PR53218. [Jim Jagielski]
169
170   *) mod_ssl: Add optional function "ssl_get_tls_cb" to allow support
171      for channel bindings.  [Simo Sorce <simo redhat.com>]
172
173   *) mod_proxy_wstunnel: Concurrent websockets messages could be 
174      lost or delayed with ProxyWebsocketAsync enabled.  
175      [Edward Lu <Chaosed0 gmail.com>]
176
177   *) core, mod_info: Add compiled and loaded PCRE versions to version
178      number display.  [Rainer Jung]
179
180   *) mod_authnz_ldap: Return LDAP connections to the pool before the handler
181      is run, instead of waiting until the end of the request. [Eric Covener]
182
183   *) mod_proxy_html: support automatic detection of doctype and processing
184      of FPIs.  PR56285 [Micha Lenk <micha lenk info>, Nick Kew]
185
186   *) mod_proxy_html: skip documents shorter than 4 bytes
187      PR 56286 [Micha Lenk <micha lenk info>]
188
189   *) mod_proxy_fdpass: Fix computation of the size of 'struct sockaddr_un'
190      when passed to 'connect()'.
191      [Graham Dumpleton <grahamd apache org>]
192
193   *) core: Add ap_mpm_resume_suspended() API to allow a suspended connection
194      to resume. PR56333 
195      [Artem <artemciy gmail.com>, Edward Lu <Chaosed0 gmail.com>]
196
197   *) core: Add ap_mpm_register_socket_callback_timeout() API. [Eric Covener]
198
199   *) mod_proxy_wstunnel: Honor ProxyWebsocketIdleTimeout in asynchronous
200      processing mode. [Eric Covener]
201
202   *) mod_authnz_ldap: Fail explicitly when the filter is too long. Remove
203      unnecessary apr_pstrdup() and strlen(). [Graham Leggett]
204
205   *) Add the ldap-search option to mod_authnz_ldap, allowing authorization
206      to be based on arbitrary expressions that do not include the username.
207      [Graham Leggett]
208
209   *) Add the ldap function to the expression API, allowing LDAP filters and
210      distinguished names based on expressions to be escaped correctly to
211      guard against LDAP injection. [Graham Leggett]
212
213   *) Add module mod_ssl_ct, which provides an implementation of Certificate
214      Transparency (RFC 6962) for httpd.  [Jeff Trawick]
215
216   *) mod_proxy_wstunnel: Avoid sending error responses down an upgraded
217      websockets connection as it is being close down. [Eric Covener]
218
219   *) mod_proxy_wstunnel: Allow the administrator to cap the amount
220      of time a synchronous websockets connection stays idle with 
221      ProxyWebsocketIdleTimeout. [Eric Covener]
222
223   *) mod_proxy_wstunnel: Change to opt-in for asynchronous support, adding 
224      directives ProxyWebsocketAsync and ProxyWebsocketAsyncDelay. 
225      [Eric Covener]
226
227   *) mod_proxy_wstunnel: Stop leaking websockets backend connections under
228      event MPM (trunk-only). [Eric Covener]
229
230   *) mod_proxy_http: Add detach_backend hook (potentially usable
231      in other proxy scheme handlers).  [Jeff Trawick]
232
233   *) mod_deflate: Add DeflateAlterETag to control how the ETag
234      is modified. The 'NoChange' parameter mimics 2.2.x behavior.
235      PR 45023, PR 39727. [Eric Covener]
236
237   *) mod_rewrite: Add 'BNF' (backreferences-no-plus) flag to RewriteRule to 
238      allow spaces in backreferences to be encoded as %20 instead of '+'.
239      [Eric Covener]
240
241   *) mod_rewrite: Support an optional list of characters to escape in the 
242      argument for the 'B' (escape backreferences) flag. [Eric Covener]
243
244   *) mod_dir: Default to 2.2-like behavior and skip execution when method is
245      neither GET nor POST, such as for DAV requests. PR 54914. [Chris Darroch]
246
247   *) mod_rewrite: Rename the handler that does per-directory internal 
248      redirects to "rewrite-redirect-handler" from "redirect-handler" so
249      it is less ambiguous and less likely to be reused. [Eric Covener]
250
251   *) mod_rewrite: Protect against looping with the [N] flag by enforcing a 
252      default limit of 10000 iterations, and allowing each rule to change its
253      limit. [Eric Covener]
254
255   *) mod_ssl: Fix config merging of SSLOCSPEnable and SSLOCSPOverrideResponder.
256      [Jeff Trawick]
257
258   *) Add HttpContentLengthHeadZero and HttpExpectStrict directives.
259      [Yehuda Sadeh <yehuda inktank com>, Justin Erenkrantz]
260
261   *) mod_ssl: Add -t -DDUMP_CA_CERTS option which dumps the filenames of all
262      configured SSL CA certificates to stdout the same way as DUMP_CERTS does.
263      [Jan Kaluza]
264
265   *) mod_ssl: Don't flush when an EOS is received. Prepares mod_ssl
266      to support write completion. [Graham Leggett]
267
268   *) core: Add parse_errorlog_arg callback to ap_errorlog_provider
269      to allow providers to check the ErrorLog argument. [Jan Kaluza]
270
271   *) mod_cgid: Use the servers Timeout for each read from a CGI script,
272      allow override with new CGIDRequestTimeout directive. PR43494
273      [Eric Covener, Toshikuni Fukaya <toshikuni-fukaya cybozu co jp>]
274
275   *) core: ensure any abnormal exit is reported to stderr if it's a tty.
276      PR 55670 [Nick Kew]
277
278   *) mod_lua: Let the Inter-VM get/set functions work with a global 
279      shared memory pool instead of a per-process pool. [Daniel Gruno]
280
281   *) ldap: Support ldaps when using the Microsoft LDAP SDK.
282      PR 54626. [Jean-Frederic Clere]
283
284   *) mod_authnz_ldap: Change default value of AuthLDAPMaxSubGroupDepth to 0
285      to avoid performance problems when subgroups aren't in use. [Eric Covener]
286
287   *) mod_syslog: New module implementing syslog ap_error_log provider.
288      Previously, this code was part of core, now it's in separate module.
289      [Jan Kaluza]
290
291   *) core: Add ap_errorlog_provider to make ErrorLog logging modular. Move
292      syslog support from core to new mod_syslog. [Jan Kaluza]
293
294   *) mod_status, mod_echo: Fix the display of client addresses.
295      They were truncated to 31 characters which is not enough for IPv6 addresses.
296      PR 54848 [Bernhard Schmidt <berni birkenwald de>]
297
298   *) mod_unique_id: Use output of the PRNG rather than IP address and
299      pid, avoiding sleep() call and possible DNS issues at startup,
300      plus improving randomness for IPv6-only hosts.
301      [Jan Kaluza <jkaluza redhat.com>]
302
303   *) mod_file_cache: mod_file_cache should be able to serve files that
304      haven't had a Content-Type set via e.g. mod_mime. [Eric Covener]
305
306   *) core: merge AllowEncodedSlashes from the base configuration into
307      virtual hosts. [Eric Covener]
308
309   *) AIX: Install DSO's with "cp" instead of "install" in instdso.sh
310      [Eric Covener]
311
312   *) mod_ldap: Don't keep retrying if a new LDAP connection times out.
313      [Eric Covener]
314
315   *) mod_deflate: permit compilation of mod_deflate against a zlib that has
316      been configured with -D Z_PREFIX, which redefines the token "deflate".
317      [Eric Covener]
318
319   *) mod_auth_digest: Use the secret when generating nonces in all cases and
320      not only when AuthName is used in .htaccess files (this change may cause
321      problems if used with round robin load balancers). Don't regenerate the
322      secret on graceful restarts. PR 54637  [Stefan Fritsch]
323
324   *) core: Remove apr_brigade_flatten(), buffering and duplicated code
325      from the HTTP_IN filter, parse chunks in a single pass with zero copy.
326      Reduce memory usage by 48 bytes per request. [Graham Leggett]
327
328   *) core: Stop the HTTP_IN filter from attempting to write error buckets
329      to the output filters, which is bogus in the proxy case. Create a
330      clean mapping from APR codes to HTTP status codes, and use it where
331      needed. [Graham Leggett]
332
333   *) mod_proxy: Ensure network errors detected by the proxy are returned as
334      504 Gateway Timout as opposed to 502 Bad Gateway, in order to be
335      compliant with RFC2616 14.9.4 Cache Revalidation and Reload Controls.
336
337   *) mod_dav: mod_dav overrides dav_fs response on PUT failure. PR 35981
338      [Basant Kumar Kukreja <basant.kukreja sun.com>, Alejandro Alvarez
339      <alejandro.alvarez.ayllon cern.ch>]
340
341   *) mod_ldap: LDAP connections used for authentication were not respecting
342      LDAPConnectionPoolTimeout.  PR 54587
343
344   *) core: ap_rgetline_core now pulls from r->proto_input_filters.
345
346   *) mod_proxy_html: process parsed comments immediately. 
347      Fixes bug where parsed comments may be lost. [Nick Kew]
348
349   *) mod_proxy_html: introduce doctype for HTML 5 [Nick Kew]
350
351   *) mod_proxy_html: fix typo-bug processing "strict" vs "transitional"
352      HTML/XHTML [Nick Kew]
353
354   *) core: Add option to add valgrind support. Use it to reduce false positive
355      warnings in mod_ssl. [Stefan Fritsch]
356
357   *) mod_authn_file, mod_authn_dbd, mod_authn_dbm, mod_authn_socache:
358      Cache the result of the most recent password hash verification for every
359      keep-alive connection. This saves some expensive calculations.
360      [Stefan Fritsch]
361
362   *) http: Remove support for Request-Range header sent by Navigator 2-3 and
363      MSIE 3. [Stefan Fritsch]
364
365   *) core, http: Extend HttpProtocol with an option to enforce stricter HTTP
366      conformance or to only log the found problems. [Stefan Fritsch]
367
368   *) core: Correctly parse an IPv6 literal host specification in an absolute
369      URL in the request line. [Stefan Fritsch]
370
371   *) EventOpt MPM
372
373   *) core: Add LogLevelOverride directive that allows to override the
374      loglevel for clients from certain IPs. This also works for things
375      like the SSL handshake where <If> LogLevel ... </If> is evaluated
376      too late. [Stefan Fritsch]
377
378   *) core: Add new directive Warning to issue warnings from a configuration
379      file. Both Warning and Error now generate a timestamped log message.
380      [Fabien Coelho] 
381
382   *) ap_expr: Add SERVER_PROTOCOL_VERSION, ..._MAJOR, and ..._MINOR
383      variables. [Stefan Fritsch]
384
385   *) core: New directive RegisterHttpMethod for registering non-standard
386      HTTP methods. [Stefan Fritsch]
387
388   *) core: New directive HttpProtocol which allows to disable HTTP/0.9
389      support. [Stefan Fritsch]
390
391   *) mod_allowhandlers: New module to forbid specific handlers for specific
392      directories. [Stefan Fritsch]
393
394   *) mod_systemd: New module, for integration with systemd on Linux.
395      [Jan Kaluza <jkaluza redhat.com>]
396
397   *) WinNT MPM: Store pid and generation for each thread in scoreboard
398      to allow tracking of threads from exiting children via mod_status
399      or other such mechanisms.  [Jeff Trawick]
400
401   *) The following now respect DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR:
402      - APIs: ap_log_pid(), ap_remove_pid, ap_read_pid()
403      - mod_cache: thundering herd lock directory
404      - mod_lbmethod_heartbeat, mod_heartmonitor: heartbeat storage file
405      - mod_ldap: shared memory cache
406      - mod_socache_shmcb, mod_socache_dbm: shared memory or dbm for cache
407      [Jeff Trawick]
408
409   *) suexec: Add --enable-suexec-capabilites support on Linux, to use
410      setuid/setgid capability bits rather than a setuid root binary.
411      [Joe Orton]
412
413   *) suexec: Add support for logging to syslog as an alternative to logging
414      to a file; configure --without-suexec-logfile --with-suexec-syslog.  
415      [Joe Orton]
416
417   *) mod_ssl: Add support for TLS Next Protocol Negotiation.  PR 52210.
418      [Matthew Steele <mdsteele google.com>]
419
420   *) cross-compile: allow to provide CC_FOR_BUILD so that gen_test_char will
421      be compiled by the build compiler instead of the host compiler.
422      Also set CC_FOR_BUILD to 'cc' when cross-compilation is detected.
423      PR 51257. [Guenter Knauf]
424
425   *) core: In maintainer mode, replace apr_palloc with a version that
426      initializes the allocated memory with non-zero values, except if
427      AP_DEBUG_NO_ALLOC_POISON is defined. [Stefan Fritsch]
428
429   *) mod_policy: Add a new testing module to help server administrators
430      enforce a configurable level of protocol compliance on their
431      servers and application servers behind theirs. [Graham Leggett]
432
433   *) mod_firehose: Add a new debugging module able to record traffic
434      passing through the server in such a way that connections and/or
435      requests be reconstructed and replayed. [Graham Leggett]
436
437   *) mod_noloris
438
439   *) APREQ
440
441   *) Simple MPM
442
443   *) mod_serf
444
445   [Apache 2.5.0-dev includes those bug fixes and changes with the
446    Apache 2.4.xx tree as documented below, except as noted.]
447
448 Changes with Apache 2.4.x and later:
449
450   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/CHANGES?view=markup
451
452 Changes with Apache 2.2.x and later:
453
454   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?view=markup
455
456 Changes with Apache 2.0.x and later:
457
458   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/CHANGES?view=markup
459