]> granicus.if.org Git - apache/blob - CHANGES
mod_http2: some code cleanup of stream request body handling, potential avoid a buffe...
[apache] / CHANGES
1                                                          -*- coding: utf-8 -*-
2 Changes with Apache 2.5.0
3
4   *) mod_proxy_http2: rescheduling of requests that have not been processed
5      by the backend when receiving a GOAWAY frame before done.
6      [Stefan Eissing]
7      
8   *) core: Split ap_create_request() from ap_read_request(). [Graham Leggett]
9
10   *) mod_ssl: Don't lose track of the SSL context if the ssl_run_pre_handshake()
11      hook returns an error. [Graham Leggett]
12
13   *) ab: Use caseless matching for HTTP tokens (e.g. content-length). PR 59111.
14      [Yann Ylavic]
15
16   *) mod_ssl: Fix a possible memory leak on restart for custom [EC]DH params.
17      [Jan Kaluza, Yann Ylavic]
18
19   *) mod_auth_digest: Fix compatibility with expression-based Authname. PR59039.
20      [Eric Covener]
21
22   *) mpm: Add a complete_connection hook that confirms whether an MPM is allowed
23      to leave the WRITE_COMPLETION phase. Move filter code out of the MPMs.
24      [Graham Leggett]
25
26   *) mod_proxy_http2: using single connection for several requests *if*
27      master connection uses HTTP/2 itself. Not yet hardened under load.
28      [Stefan Eissing]
29
30   *) core: Added support for HTTP code 451. PR58985.
31      [Yehuda Katz <yehuda ymkatz.net>, Jim Jagielski]
32
33   *) mod_ssl: Add support for OpenSSL 1.1.0. [Rainer Jung]
34  
35   *) mod_proxy_http2: new experimental http2 proxy module for h2: and h2c: proxy
36      urls. Uses, so far, one connection per request, reuses connections.
37      [Stefan Eissing]
38   
39   *) event: use pre_connection hook to properly initialize connection state for
40      slave connections. use protocol_switch hook to initialize server config
41      early based on SNI selected vhost. 
42      [Stefan Eissing]
43   
44   *) mod_filter: Fix AddOutputFilterByType with non-content-level filters.
45      PR58856 [Micha Lenk <micha lenk.info>]
46
47   *) mod_cache: Consider Cache-Control: s-maxage in expiration
48      calculations.  [Eric Covener]
49
50   *) mod_cache: Allow caching of responses with an Expires header
51      in the past that also has Cache-Control: max-age or s-maxage.
52      PR55156. [Eric Covener]
53
54   *) ap_expr: expression support for variable HTTP2=on|off
55      [Stefan Eissing]
56
57   *) mod_proxy_hcheck: Provide for dynamic background health
58      checks on reverse proxies associated with BalancerMember
59      workers. [Jim Jagielski]
60
61   *) Added many log numbers to log statements that had none.
62
63   *) core: Add expression support to SetHandler.
64      [Eric Covener]
65
66   *) mod_session: Introduce SessionExpiryUpdateInterval which allows to
67      configure the session/cookie expiry's update interval. PR 57300.
68      [Paul Spangler <paul.spangler ni.com>]
69
70   *) core: Extend support for asynchronous write completion from the
71      network filter to any connection or request filter. [Graham Leggett]
72
73   *) mpm_event: Free memory earlier when shutting down processes.
74      [Stefan Fritsch]
75
76   *) core/util_script: relax alphanumeric filter of environment variable names
77      on Windows to allow '(' and ')' for passing PROGRAMFILES(X86) et.al.
78      unadulterated in 64 bit versions of Windows. PR 46751.  
79      [John <john leineweb de>]
80
81   *) mod_auth_digest: remove AuthDigestEnableQueryStringHack which is no
82      more documented since dec 2012 (r1415960). [Christophe Jaillet]
83
84   *) mod_charset_lite: On EBCDIC platforms, make sure mod_charset_lite runs
85      after other resource-level filters. [Eric Covener]
86
87   *) mod_dir: Responses that go through "FallbackResource" might appear to
88      hang due to unterminated chunked encoding. PR58292. [Eric Covener]
89
90   *) mod_substitute: Fix configuraton merge order.
91      PR 57641 [<Marc.Stern approach.be>]
92
93   *) mod_ssl: When SSLVerify is disabled (NONE), don't force a renegotiation if
94      the SSLVerifyDepth applied with the default/handshaken vhost differs from
95      the one applicable with the finally selected vhost.  [Yann Ylavic]
96
97   *) http: Don't remove the Content-Length of zero from a HEAD response if
98      it comes from an origin server, module or script.  [Yann Ylavic]
99
100   *) http: Add support for RFC2324/RFC7168. [Graham Leggett]
101
102   *) mod_rewrite: Add support for starting External Rewriting Programs
103      as non-root user on UNIX systems by specifying username and group name
104      as third argument of RewriteMap directive. [Jan Kaluza]
105
106   *) mod_authn_core: Add expression support to AuthName and AuthType.
107      [Graham Leggett]
108
109   *) suexec: Filter out the HTTP_PROXY environment variable because it is
110      treated as alias for http_proxy by some programs. [Stefan Fritsch]
111
112   *) mod_proxy_http: Don't establish or reuse a backend connection before pre-
113      fetching the request body, so to minimize the delay between it is supposed
114      to be alive and the first bytes sent: this is a best effort to prevent the
115      backend from closing because of idle or keepalive timeout in the meantime.
116      Also, handle a new "proxy-flushall" environment variable which allows to
117      flush any forwarded body data immediately. PR 56541+37920. [Yann Ylavic]
118
119   *) core: Define and UnDefine are no longer permitted in
120      directory context. Previously they would always be evaulated
121      as the configuration was read without regard for the directory
122      context. [Eric Covener]
123
124   *) config: For directives that do not expect any arguments, enforce
125      that none are specified in the configuration file. 
126      [Joachim Zobel <jzobel heute-morgen.de>, Eric Covener]
127
128   *) mod_rewrite: Improve 'bad flag delimeters' startup error by showing
129      how the input was tokenized.  PR 56528. [Edward Lu <Chaosed0 gmail.com>]
130
131   *) mod_proxy: Don't put non balancer-member workers in error state by
132      default for connection or 500/503 errors, and honor status=+I for
133      any error.  PR 48388.  [Yann Ylavic]
134
135   *) mod_socache_memcache: Pass expiration time through to memcached. PR 55445.
136      [Faidon Liambotis <paravoid debian.org>, Joe Orton]
137
138   *) ap_expr: Add filemod function for checking file modification dates
139      [Daniel Gruno]
140
141   *) mod_authnz_ldap: Resolve crashes with LDAP authz and non-LDAP authn since 
142      r1608202. [Eric Covener]
143
144   *) core: Ensure that httpd exits with an error status when the MPM fails
145      to run.  [Yann Ylavic]
146
147   *) apreq: Content-Length header should be always interpreted as a decimal.
148      Leading 0 could be erroneously considered as an octal value. PR 56598.
149      [Chris Card <ctcard hotmail com>]
150
151   *) mod_proxy: Now allow for 191 character worker names, with non-fatal
152      errors if name is truncated. PR53218. [Jim Jagielski]
153
154   *) mod_ssl: Add optional function "ssl_get_tls_cb" to allow support
155      for channel bindings.  [Simo Sorce <simo redhat.com>]
156
157   *) mod_proxy_wstunnel: Concurrent websockets messages could be 
158      lost or delayed with ProxyWebsocketAsync enabled.  
159      [Edward Lu <Chaosed0 gmail.com>]
160
161   *) core, mod_info: Add compiled and loaded PCRE versions to version
162      number display.  [Rainer Jung]
163
164   *) mod_authnz_ldap: Return LDAP connections to the pool before the handler
165      is run, instead of waiting until the end of the request. [Eric Covener]
166
167   *) mod_proxy_html: support automatic detection of doctype and processing
168      of FPIs.  PR56285 [Micha Lenk <micha lenk info>, Nick Kew]
169
170   *) mod_proxy_html: skip documents shorter than 4 bytes
171      PR 56286 [Micha Lenk <micha lenk info>]
172
173   *) mod_proxy_fdpass: Fix computation of the size of 'struct sockaddr_un'
174      when passed to 'connect()'.
175      [Graham Dumpleton <grahamd apache org>]
176
177   *) core: Add ap_mpm_resume_suspended() API to allow a suspended connection
178      to resume. PR56333 
179      [Artem <artemciy gmail.com>, Edward Lu <Chaosed0 gmail.com>]
180
181   *) core: Add ap_mpm_register_socket_callback_timeout() API. [Eric Covener]
182
183   *) mod_proxy_wstunnel: Honor ProxyWebsocketIdleTimeout in asynchronous
184      processing mode. [Eric Covener]
185
186   *) mod_authnz_ldap: Fail explicitly when the filter is too long. Remove
187      unnecessary apr_pstrdup() and strlen(). [Graham Leggett]
188
189   *) Add the ldap-search option to mod_authnz_ldap, allowing authorization
190      to be based on arbitrary expressions that do not include the username.
191      [Graham Leggett]
192
193   *) Add the ldap function to the expression API, allowing LDAP filters and
194      distinguished names based on expressions to be escaped correctly to
195      guard against LDAP injection. [Graham Leggett]
196
197   *) Add module mod_ssl_ct, which provides an implementation of Certificate
198      Transparency (RFC 6962) for httpd.  [Jeff Trawick]
199
200   *) mod_remoteip: Prevent an external proxy from presenting an internal
201      proxy. PR 55962. [Mike Rumph]
202
203   *) mod_ssl: Add hooks to allow other modules to perform processing at
204      several stages of initialization and connection handling.  See
205      mod_ssl_openssl.h.  [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