]> granicus.if.org Git - apache/blob - CHANGES
prevent excessive delays retrying new connections that timed out.
[apache] / CHANGES
1                                                          -*- coding: utf-8 -*-
2 Changes with Apache 2.5.0
3
4   *) mod_ldap: Don't keep retrying if a new LDAP connection times out.
5      [Eric Covener]
6
7   *) mod_deflate: permit compilation of mod_deflate against a zlib that has
8      been configured with -D Z_PREFIX, which redefines the token "deflate".
9      [Eric Covener]
10
11   *) mod_socache_shmcb.c: Remove arbitrary restriction on shared memory size
12      previously limited to 64MB. [Jens Låås <jelaas gmail.com>]
13
14   *) mod_cache_socache: Make sure the CacheSocacheMaxSize directive is merged
15      correctly. [Jens Låås <jelaas gmail.com>]
16
17   *) mod_auth_digest: Use the secret when generating nonces in all cases and
18      not only when AuthName is used in .htaccess files (this change may cause
19      problems if used with round robin load balancers). Don't regenerate the
20      secret on graceful restarts. PR 54637  [Stefan Fritsch]
21
22   *) mod_cache_socache: Use the name of the socache implementation when performing
23      a lookup rather than using the raw arguments. [Martin Ksellmann
24      <martin@ksellmann.de>]
25
26   *) rotatelogs: add -n number-of-files option to roate through a number
27      of fixed-name logfiles. [Eric Covener]
28
29   *) mod_lua: If a LuaMapHandler doesn't return any value, log a warning
30      and treat it as apache2.OK. [Eric Covener]
31
32   *) ab: Add a new -l parameter in order not to check the length of the responses.
33      This can be usefull with dynamic pages.
34      PR9945, PR27888, PR42040 [<ccikrs1 cranbrook edu>]
35      
36   *) mod_ssl: Fix possible truncation of OCSP responses when reading from the
37      server.  [Joe Orton]
38
39   *) mod_session_dbd: Make sure that dirty flag is respected when saving
40      sessions, and ensure the session ID is changed each time the session
41      changes. [Takashi Sato <takashi tks.st>, Graham Leggett]
42
43   *) mod_dav: Sending a MERGE request against a URI handled by mod_dav_svn with
44      the source href (sent as part of the request body as XML) pointing to a
45      URI that is not configured for DAV will trigger a segfault. [Ben Reser
46      <ben reser.org>]
47
48   *) mod_logio: new format-specifier %C (combined) which is the sum of received
49      and sent byte counts.
50      PR54015 [Christophe Jaillet]
51
52   *) core: Remove apr_brigade_flatten(), buffering and duplicated code
53      from the HTTP_IN filter, parse chunks in a single pass with zero copy.
54      Reduce memory usage by 48 bytes per request. [Graham Leggett]
55
56   *) mod_deflate: Remove assumptions as to when an EOS bucket might arrive.
57      Gracefully step aside if the body size is zero. [Graham Leggett]
58
59   *) 'AuthGroupFile' and 'AuthUserFile' do not accept anymore the optional
60      'standard' keyword . It was unused and not documented.
61      PR54463 [Tianyin Xu <tixu cs.ucsd.edu> and Christophe Jaillet]
62
63   *) mod_proxy_http: Make the proxy-interim-response environment variable
64      effective by formally overriding origin server behaviour. [Graham
65      Leggett, Co-Advisor <coad measurement-factory.com>]
66
67   *) core: Stop the HTTP_IN filter from attempting to write error buckets
68      to the output filters, which is bogus in the proxy case. Create a
69      clean mapping from APR codes to HTTP status codes, and use it where
70      needed. [Graham Leggett]
71
72   *) mod_proxy: Ensure we don't attempt to amend a table we are iterating
73      through, ensuring that all headers listed by Connection are removed.
74      [Graham Leggett, Co-Advisor <coad measurement-factory.com>]
75
76   *) core: apachectl -S prints wildcard name-based virtual hosts twice. 
77      PR54948 [Eric Covener]
78
79   *) mod_proxy: Reject invalid values for Max-Forwards. [Graham Leggett,
80      Co-Advisor <coad measurement-factory.com>]
81
82   *) mod_cache: If a 304 response indicates an entity not currently cached, then
83      the cache MUST disregard the response and repeat the request without the
84      conditional. [Graham Leggett, Co-Advisor <coad measurement-factory.com>]
85
86   *) mod_proxy: Fix seg-faults when using the global pool on threaded
87      MPMs [Thomas Eckert <thomas.r.w.eckert gmail.com>, Jim Jagielski]
88
89   *) mod_proxy: Ensure network errors detected by the proxy are returned as
90      504 Gateway Timout as opposed to 502 Bad Gateway, in order to be
91      compliant with RFC2616 14.9.4 Cache Revalidation and Reload Controls.
92      [Graham Leggett, Co-Advisor <coad measurement-factory.com>]
93
94   *) mod_cache: Ensure that we don't attempt to replace a cached response
95      with an older response as per RFC2616 13.12. [Graham Leggett, Co-Advisor
96      <coad measurement-factory.com>]
97
98   *) core, mod_cache: Ensure RFC2616 compliance in ap_meets_conditions()
99      with weak validation combined with If-Range and Range headers. Break
100      out explicit conditional header checks to be useable elsewhere in the
101      server. Ensure weak validation RFC compliance in the byteranges filter.
102      Ensure RFC validation compliance when serving cached entities. PR 16142
103      [Graham Leggett, Co-Advisor <coad measurement-factory.com>]
104
105   *) core: Add the ability to do explicit matching on weak and strong ETags
106      as per RFC2616 Section 13.3.3. [Graham Leggett, Co-Advisor
107      <coad measurement-factory.com>]
108
109   *) mod_cache: Ensure that updated responses to HEAD requests don't get
110      mistakenly paired with a previously cached body. Ensure that any existing
111      body is removed when a HEAD request is cached. [Graham Leggett,
112      Co-Advisor <coad measurement-factory.com>]
113
114   *) mod_cache: Honour Cache-Control: no-store in a request. [Graham Leggett]
115
116   *) mod_cache: RFC2616 14.9.3 The s-maxage directive also implies the
117      semantics of the proxy-revalidate directive. [Graham Leggett]
118
119   *) mod_cache: Make sure that contradictory entity headers present in a 304
120      Not Modified response are caught and cause the entity to be removed.
121      [Graham Leggett]
122
123   *) mod_cache: Make sure Vary processing handles multivalued Vary headers and
124      multivalued headers referred to via Vary. [Graham Leggett]
125
126   *) mod_cache: When serving from cache, only the last header of a multivalued
127      header was taken into account. Fixed. [Graham Leggett]
128
129   *) mod_cache: Ignore response headers specified by no-cache=header and
130      private=header as specified by RFC2616 14.9.1 What is Cacheable. Ensure
131      that these headers are still processed when multiple Cache-Control
132      headers are present in the response. PR 54706 [Graham Leggett,
133      Yann Ylavic <ylavic.dev gmail.com>]
134
135   *) mod_cache: Invalidate cached entities in response to RFC2616 Section
136      13.10 Invalidation After Updates or Deletions. PR 15868 [Graham
137      Leggett]
138
139   *) mod_dav: mod_dav overrides dav_fs response on PUT failure. PR 35981
140      [Basant Kumar Kukreja <basant.kukreja sun.com>, Alejandro Alvarez
141      <alejandro.alvarez.ayllon cern.ch>]
142
143   *) mod_dav: Do not segfault on PROPFIND with a zero length DBM.
144      PR 52559 [Diego Santa Cruz <diego.santaCruz spinetix.com>]
145
146   *) mod_dav: Do not fail PROPPATCH when prop namespace is not known.
147      PR 52559 [Diego Santa Cruz <diego.santaCruz spinetix.com>]
148
149   *) mod_dav: When a PROPPATCH attempts to remove a non-existent dead
150      property on a resource for which there is no dead property in the same
151      namespace httpd segfaults. PR 52559 [Diego Santa Cruz
152      <diego.santaCruz spinetix.com>]
153
154   *) mod_dav: Ensure URI is correctly uriencoded on return. PR 54611
155      [Timothy Wood <tjw omnigroup.com>]
156
157   *) mod_dav: Sending a If or If-Match header with an invalid ETag doesn't
158      result in a 412 Precondition Failed. PR 54610 [Timothy Wood
159      <tjw omnigroup.com>]
160
161   *) mod_dav: Make sure that when we prepare an If URL for Etag comparison,
162      we compare unencoded paths. PR 53910 [Timothy Wood <tjw omnigroup.com>]
163
164   *) core, mod_ssl: Lift the restriction that prevents mod_ssl taking
165      full advantage of the event MPM. Enable the ability for a module
166      to reverse the sense of a poll event from a read to a write or vice
167      versa. [Graham Leggett]
168
169   *) htpasswd: Add -v option to verify a password. [Stefan Fritsch]
170
171   *) htpasswd, htdbm: Fix password generation. PR 54735. [Stefan Fritsch]
172
173   *) mod_dav: Improve error handling in dav_method_put(), add new
174      dav_join_error() function.  PR 54145.  [Ben Reser <ben reser.org>]
175
176   *) mod_auth_digest: Fix crashes if shm initialization failed. [Stefan
177      Fritsch]
178  
179   *) mod_ldap: LDAP connections used for authentication were not respecting
180      LDAPConnectionPoolTimeout.  PR 54587
181
182   *) core: ap_rgetline_core now pulls from r->proto_input_filters.
183
184   *) mod_proxy_html: process parsed comments immediately. 
185      Fixes bug where parsed comments may be lost. [Nick Kew]
186
187   *) mod_proxy_html: introduce doctype for HTML 5 [Nick Kew]
188
189   *) mod_proxy_html: fix typo-bug processing "strict" vs "transitional"
190      HTML/XHTML [Nick Kew]
191
192   *) core: Add option to add valgrind support. Use it to reduce false positive
193      warnings in mod_ssl. [Stefan Fritsch]
194
195   *) mod_lua: Add bindings for apr_dbd/mod_dbd database access
196      [Daniel Gruno]
197
198   *) mod_authn_file, mod_authn_dbd, mod_authn_dbm, mod_authn_socache:
199      Cache the result of the most recent password hash verification for every
200      keep-alive connection. This saves some expensive calculations.
201      [Stefan Fritsch]
202
203   *) http: Remove support for Request-Range header sent by Navigator 2-3 and
204      MSIE 3. [Stefan Fritsch]
205
206   *) core, http: Extend HttpProtocol with an option to enforce stricter HTTP
207      conformance or to only log the found problems. [Stefan Fritsch]
208
209   *) core: Correctly parse an IPv6 literal host specification in an absolute
210      URL in the request line. [Stefan Fritsch]
211
212   *) mod_ssl: add support for subjectAltName-based host name checking
213      in proxy mode. PR 54030. [Kaspar Brand]
214
215   *) mpm_event: Check that AsyncRequestWorkerFactor is not negative. PR 54254.
216      [Jackie Zhang <jackie qq zhang gmail com>]
217
218   *) mod_ssl: Add support for OpenSSL configuration commands [Stephen Henson]
219
220   *) EventOpt MPM
221
222   *) core: Add LogLevelOverride directive that allows to override the
223      loglevel for clients from certain IPs. This also works for things
224      like the SSL handshake where <If> LogLevel ... </If> is evaluated
225      too late. [Stefan Fritsch]
226
227   *) core: Add new directive Warning to issue warnings from a configuration
228      file. Both Warning and Error now generate a timestamped log message.
229      [Fabien Coelho] 
230
231   *) ap_expr: Add SERVER_PROTOCOL_VERSION, ..._MAJOR, and ..._MINOR
232      variables. [Stefan Fritsch]
233
234   *) core: New directive RegisterHttpMethod for registering non-standard
235      HTTP methods. [Stefan Fritsch]
236
237   *) core: New directive HttpProtocol which allows to disable HTTP/0.9
238      support. [Stefan Fritsch]
239
240   *) mod_allowhandlers: New module to forbid specific handlers for specific
241      directories. [Stefan Fritsch]
242
243   *) configure: Fix processing of --disable-FEATURE for various features.
244      [Jeff Trawick]
245
246   *) mod_systemd: New module, for integration with systemd on Linux.
247      [Jan Kaluza <jkaluza redhat.com>]
248
249   *) mod_cache_socache: New cache implementation backed by mod_socache
250      that replaces mod_mem_cache removed from httpd v2.2. [Graham
251      Leggett]
252
253   *) core: Add dirwalk_stat and pre_htaccess hooks, allowing mpm-itk
254      to be used without patches to httpd core.  [Jeff Trawick]
255
256   *) mod_lua: Add LuaInputFilter/LuaOutputFilter for creating content
257      filters in Lua [Daniel Gruno]
258
259   *) WinNT MPM: Store pid and generation for each thread in scoreboard
260      to allow tracking of threads from exiting children via mod_status
261      or other such mechanisms.  [Jeff Trawick]
262
263   *) mod_ssl: Catch missing or mismatched client cert/key pairs with
264      SSLProxyMachineCertificateFile/Path directives.  PR 52212.  
265      [Keith Burdis <keith burdis.org>, Joe Orton]
266
267   *) mod_lua: Allow scripts handled by the lua-script handler to return 
268      a status code to the client (such as a 302 or a 500) [Daniel Gruno]
269
270   *) mod_lua: Decline handling 'lua-script' if the file doesn't exist,
271      rather than throwing an internal server error. [Daniel Gruno]
272
273   *) mod_lua: Add functions r:flush and r:sendfile as well as additional
274      request information to the request_rec structure. [Daniel Gruno]
275
276   *) mod_lua: Add a server scope for Lua states, which creates a pool of
277      states with managable minimum and maximum size. [Daniel Gruno]
278
279   *) core: Add post_perdir_config hook.
280      [Steinar Gunderson <sgunderson bigfoot.com>]
281
282   *) mod_lua: Add new directive, LuaMapHandler, for dynamically mapping 
283      URIs to Lua scripts and functions using regular expressions.
284      [Daniel Gruno]
285
286   *) mod_lua: Add new directive LuaCodeCache for controlling in-memory
287      caching of lua scripts. [Daniel Gruno]
288
289   *) The following now respect DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR:
290      - APIs: ap_log_pid(), ap_remove_pid, ap_read_pid()
291      - core: the scoreboard (ScoreBoardFile), pid file (PidFile), and
292        mutexes (Mutex)
293      - mod_cache: thundering herd lock directory
294      - mod_lbmethod_heartbeat, mod_heartmonitor: heartbeat storage file
295      - mod_ldap: shared memory cache
296      - mod_socache_shmcb, mod_socache_dbm: shared memory or dbm for cache
297      [Jeff Trawick]
298
299   *) suexec: Add --enable-suexec-capabilites support on Linux, to use
300      setuid/setgid capability bits rather than a setuid root binary.
301      [Joe Orton]
302
303   *) suexec: Add support for logging to syslog as an alternative to logging
304      to a file; configure --without-suexec-logfile --with-suexec-syslog.  
305      [Joe Orton]
306
307   *) mod_ssl: Add support for TLS Next Protocol Negotiation.  PR 52210.
308      [Matthew Steele <mdsteele google.com>]
309
310   *) cross-compile: allow to provide CC_FOR_BUILD so that gen_test_char will
311      be compiled by the build compiler instead of the host compiler.
312      Also set CC_FOR_BUILD to 'cc' when cross-compilation is detected.
313      PR 51257. [Guenter Knauf]
314
315   *) core: In maintainer mode, replace apr_palloc with a version that
316      initializes the allocated memory with non-zero values, except if
317      AP_DEBUG_NO_ALLOC_POISON is defined. [Stefan Fritsch]
318
319   *) mod_policy: Add a new testing module to help server administrators
320      enforce a configurable level of protocol compliance on their
321      servers and application servers behind theirs. [Graham Leggett]
322
323   *) mod_firehose: Add a new debugging module able to record traffic
324      passing through the server in such a way that connections and/or
325      requests be reconstructed and replayed. [Graham Leggett]
326
327   *) mod_noloris
328
329   *) APREQ
330
331   *) Simple MPM
332
333   *) mod_serf
334
335   [Apache 2.5.0-dev includes those bug fixes and changes with the
336    Apache 2.4.xx tree as documented below, except as noted.]
337
338 Changes with Apache 2.4.x and later:
339
340   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/CHANGES?view=markup
341
342 Changes with Apache 2.2.x and later:
343
344   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?view=markup
345
346 Changes with Apache 2.0.x and later:
347
348   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/CHANGES?view=markup
349