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