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