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