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