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