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