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