]> granicus.if.org Git - apache/blob - CHANGES
* Fix If-Match handling:
[apache] / CHANGES
1                                                          -*- coding: utf-8 -*-
2 Changes with Apache 2.5.0
3
4   *) mod_http: Fix incorrect If-Match handling. PR 57358
5      [Kunihiko Sakamoto <ksakamoto google.com>]
6
7   *) mod_proxy_ajp: Fix handling of the default port (8009) in the
8      ProxyPass and <Proxy> configurations.  PR 57259.  [Yann Ylavic].
9
10   *) mod_ssl: Fix renegotiation failures redirected to an ErrorDocument.
11      PR 57334.  [Yann Ylavic].
12
13   *) core: Fix -D[efined] or <Define>[d] variables lifetime accross restarts. 
14      PR 57328.  [Armin Abfalterer <a.abfalterer gmail.com>, Yann Ylavic].
15
16   *) mod_proxy_ajp: Fix client connection errors handling and logged status
17      when it occurs.  PR 56823.  [Yann Ylavic]
18
19   *) ap_expr: Add filemod function for checking file modification dates
20      [Daniel Gruno]
21      
22   *) core: Add CGIPassAuth directive to control whether HTTP authorization
23      headers are passed to scripts as CGI variables.  PR 56855.  [Jeff 
24      Trawick]
25
26   *) mod_rewrite: Improve relative substitutions in per-directory/htaccess
27      context for directories found by mod_userdir and mod_alias.  These no
28      loner require RewriteBase to be specified. [Eric Covener]
29
30   *) mod_authnz_ldap: Resolve crashes with LDAP authz and non-LDAP authn since 
31      r1608202. [Eric Covener]
32  
33   *) core: Support custom ErrorDocuments for HTTP 501 and 414 status codes.
34      PR 57167 [Edward Lu <Chaosed0 gmail.com>]
35
36   *) mod_proxy_connect: Don't issue AH02447 on sockets hangups, let the read
37      determine whether it is a normal close or a real error. PR 57168. [Yann
38      Ylavic]
39
40   *) mod_buffer: Forward flushed input data immediatly and avoid (unlikely)
41      access to freed memory. [Yann Ylavic, Christophe Jaillet]
42
43   *) mod_proxy: Use the correct server name for SNI in case the backend
44      SSL connection itself is established via a proxy server.
45      PR 57139 [Szabolcs Gyurko <szabolcs gyurko.org>]
46
47   *) mod_ssl: Do not crash when looking up SSL related variables during
48      expression evaluation on non SSL connections. PR 57070 [Ruediger Pluem]
49
50   *) core: Ensure that httpd exits with an error status when the MPM fails
51      to run.  [Yann Ylavic]
52
53   *) apreq: Content-Length header should be always interpreted as a decimal.
54      Leading 0 could be erroneously considered as an octal value. PR 56598.
55      [Chris Card <ctcard hotmail com>]
56   
57   *) mod_proxy: Now allow for 191 character worker names, with non-fatal
58      errors if name is truncated. PR53218. [Jim Jagielski]
59
60   *) mod_ssl: Add optional function "ssl_get_tls_cb" to allow support
61      for channel bindings.  [Simo Sorce <simo redhat.com>]
62
63   *) mod_proxy_wstunnel: Concurrent websockets messages could be 
64      lost or delayed with ProxyWebsocketAsync enabled.  
65      [Edward Lu <Chaosed0 gmail.com>]
66
67   *) core, mod_info: Add compiled and loaded PCRE versions to version
68      number display.  [Rainer Jung]
69
70   *) mpm_winnt: Accept utf-8 (Unicode) service names and descriptions for
71      internationalization.  [William Rowe]
72
73   *) mpm_winnt: Normalize the error and status messages emitted by service.c,
74      the service control interface for Windows.  [William Rowe]
75   
76   *) mod_authnz_ldap: Return LDAP connections to the pool before the handler
77      is run, instead of waiting until the end of the request. [Eric Covener]
78
79   *) mod_ldap: Be more conservative with the last-used time for
80      LDAPConnectionPoolTTL. PR54587 [Eric Covener]
81
82   *) mod_deflate: Don't fail when flushing inflated data to the user-agent
83      and that coincides with the end of stream ("Zlib error flushing inflate
84      buffer"). PR 56196. [Christoph Fausak <christoph fausak glueckkanja.com>]
85
86   *) mod_proxy: Don't limit the size of the connectable Unix Domain Socket
87      paths. [Christophe Jaillet, Yann Ylavic]
88
89   *) mod_ssl: dump SSL IO/state for the write side of the connection(s),
90      like reads (level TRACE4). [Yann Ylavic]
91
92   *) mod_proxy: Shutdown (eg. close notify) the backend connection before
93      closing. [Yann Ylavic] 
94
95   *) mpm_event[opt]: Send the SSL close notify alert when the KeepAliveTimeout
96      expires. PR54998. [Yann Ylavic] 
97
98   *) mod_ssl: Ensure that the SSL close notify alert is flushed to the client.
99      PR54998. [Tim Kosse <tim.kosse filezilla-project.org>, Yann Ylavic] 
100
101   *) mod_log_config: Add GlobalLog to allow a globally defined log to
102      be inherited by virtual hosts that define a CustomLog.
103      [Edward Lu <Chaosed0 gmail.com>]
104
105   *) MPMs: Support SO_REUSEPORT to create multiple duplicated listener
106      records for scalability. [Yingqi Lu <yingqi.lu@intel.com>,
107      Jeff Trawick, Jim Jagielski]
108
109   *) mod_proxy_html: support automatic detection of doctype and processing
110      of FPIs.  PR56285 [Micha Lenk <micha lenk info>, Nick Kew]
111
112   *) mod_proxy_html: skip documents shorter than 4 bytes
113      PR 56286 [Micha Lenk <micha lenk info>]
114
115   *) mod_proxy_fdpass: Fix computation of the size of 'struct sockaddr_un'
116      when passed to 'connect()'.
117      [Graham Dumpleton <grahamd apache org>]
118
119   *) core: Add ap_mpm_resume_suspended() API to allow a suspended connection
120      to resume. PR56333 
121      [Artem <artemciy gmail.com>, Edward Lu <Chaosed0 gmail.com>]
122
123   *) core: Add ap_mpm_register_socket_callback_timeout() API. [Eric Covener]
124
125   *) mod_proxy_wstunnel: Honor ProxyWebsocketIdleTimeout in asynchronous
126      processing mode. [Eric Covener]
127
128   *) mod_authnz_ldap: Fail explicitly when the filter is too long. Remove
129      unnecessary apr_pstrdup() and strlen(). [Graham Leggett]
130
131   *) Add the ldap-search option to mod_authnz_ldap, allowing authorization
132      to be based on arbitrary expressions that do not include the username.
133      [Graham Leggett]
134
135   *) Add the ldap function to the expression API, allowing LDAP filters and
136      distinguished names based on expressions to be escaped correctly to
137      guard against LDAP injection. [Graham Leggett]
138
139   *) Add module mod_ssl_ct, which provides an implementation of Certificate
140      Transparency (RFC 6962) for httpd.  [Jeff Trawick]
141
142   *) mod_proxy: Preserve original request headers even if they differ
143      from the ones to be forwarded to the backend. PR 45387.
144      [Yann Ylavic]
145
146   *) mod_remoteip: Prevent an external proxy from presenting an internal
147      proxy. PR 55962. [Mike Rumph]
148
149   *) mod_ssl: Add hooks to allow other modules to perform processing at
150      several stages of initialization and connection handling.  See
151      mod_ssl_openssl.h.  [Jeff Trawick]
152
153   *) mod_proxy_wstunnel: Avoid sending error responses down an upgraded
154      websockets connection as it is being close down. [Eric Covener]
155   
156   *) mod_proxy_wstunnel: Allow the administrator to cap the amount
157      of time a synchronous websockets connection stays idle with 
158      ProxyWebsocketIdleTimeout. [Eric Covener]
159
160   *) mod_proxy_wstunnel: Change to opt-in for asynchronous support, adding 
161      directives ProxyWebsocketAsync and ProxyWebsocketAsyncDelay. 
162      [Eric Covener]
163
164   *) mod_proxy_wstunnel: Stop leaking websockets backend connections under
165      event MPM (trunk-only). [Eric Covener]
166
167   *) mod_proxy_http: Add detach_backend hook (potentially usable
168      in other proxy scheme handlers).  [Jeff Trawick]
169
170   *) mod_deflate: Add DeflateAlterETag to control how the ETag
171      is modified. The 'NoChange' parameter mimics 2.2.x behavior.
172      PR 45023, PR 39727. [Eric Covener]
173
174   *) mod_rewrite: Add 'BNF' (backreferences-no-plus) flag to RewriteRule to 
175      allow spaces in backreferences to be encoded as %20 instead of '+'.
176      [Eric Covener]
177      
178   *) mod_rewrite: Support an optional list of characters to escape in the 
179      argument for the 'B' (escape backreferences) flag. [Eric Covener]
180
181   *) mod_dir: Default to 2.2-like behavior and skip execution when method is
182      neither GET nor POST, such as for DAV requests. PR 54914. [Chris Darroch]
183
184   *) mod_rewrite: Rename the handler that does per-directory internal 
185      redirects to "rewrite-redirect-handler" from "redirect-handler" so
186      it is less ambiguous and less likely to be reused. [Eric Covener]
187
188   *) mod_rewrite: Protect against looping with the [N] flag by enforcing a 
189      default limit of 10000 iterations, and allowing each rule to change its
190      limit. [Eric Covener]
191
192   *) mod_ssl: Fix config merging of SSLOCSPEnable and SSLOCSPOverrideResponder.
193      [Jeff Trawick]
194
195   *) Add HttpContentLengthHeadZero and HttpExpectStrict directives.
196      [Yehuda Sadeh <yehuda inktank com>, Justin Erenkrantz]
197
198   *) mod_ssl: Add -t -DDUMP_CA_CERTS option which dumps the filenames of all
199      configured SSL CA certificates to stdout the same way as DUMP_CERTS does.
200      [Jan Kaluza]
201
202   *) mod_ssl: Don't flush when an EOS is received. Prepares mod_ssl
203      to support write completion. [Graham Leggett]
204
205   *) core: Add parse_errorlog_arg callback to ap_errorlog_provider
206      to allow providers to check the ErrorLog argument. [Jan Kaluza]
207
208   *) mod_cgid: Use the servers Timeout for each read from a CGI script,
209      allow override with new CGIDRequestTimeout directive. PR43494
210      [Eric Covener, Toshikuni Fukaya <toshikuni-fukaya cybozu co jp>]
211
212   *) core: ensure any abnormal exit is reported to stderr if it's a tty.
213      PR 55670 [Nick Kew]
214
215   *) mod_lua: Let the Inter-VM get/set functions work with a global 
216      shared memory pool instead of a per-process pool. [Daniel Gruno]
217
218   *) ldap: Support ldaps when using the Microsoft LDAP SDK.
219      PR 54626. [Jean-Frederic Clere]
220
221   *) mod_proxy: Add ap_connection_reusable() for checking if a connection
222      is reusable as of this point in processing.  [Jeff Trawick]
223
224   *) mod_authnz_ldap: Change default value of AuthLDAPMaxSubGroupDepth to 0
225      to avoid performance problems when subgroups aren't in use. [Eric Covener]
226
227   *) mod_syslog: New module implementing syslog ap_error_log provider.
228      Previously, this code was part of core, now it's in separate module.
229      [Jan Kaluza]
230
231   *) core: Add ap_errorlog_provider to make ErrorLog logging modular. Move
232      syslog support from core to new mod_syslog. [Jan Kaluza]
233
234   *) mod_status, mod_echo: Fix the display of client addresses.
235      They were truncated to 31 characters which is not enough for IPv6 addresses.
236      PR 54848 [Bernhard Schmidt <berni birkenwald de>]
237
238   *) core: Add ap_log_data(), ap_log_rdata(), etc. for logging buffers.
239      [Jeff Trawick]
240
241   *) mod_unique_id: Use output of the PRNG rather than IP address and
242      pid, avoiding sleep() call and possible DNS issues at startup,
243      plus improving randomness for IPv6-only hosts.
244      [Jan Kaluza <jkaluza redhat.com>]
245
246   *) mod_authnz_ldap: Support primitive LDAP servers that do not accept
247      filters, such as "SDBM-backed LDAP" on z/OS, by allowing a special
248      filter "none" to be specified in AuthLDAPURL. [Eric Covener]
249
250   *) mod_file_cache: mod_file_cache should be able to serve files that
251      haven't had a Content-Type set via e.g. mod_mime. [Eric Covener]
252
253   *) core: merge AllowEncodedSlashes from the base configuration into
254      virtual hosts. [Eric Covener]
255
256   *) AIX: Install DSO's with "cp" instead of "install" in instdso.sh
257      [Eric Covener]
258
259   *) mod_ldap: Don't keep retrying if a new LDAP connection times out.
260      [Eric Covener]
261
262   *) mod_deflate: permit compilation of mod_deflate against a zlib that has
263      been configured with -D Z_PREFIX, which redefines the token "deflate".
264      [Eric Covener]
265
266   *) mod_auth_digest: Use the secret when generating nonces in all cases and
267      not only when AuthName is used in .htaccess files (this change may cause
268      problems if used with round robin load balancers). Don't regenerate the
269      secret on graceful restarts. PR 54637  [Stefan Fritsch]
270
271   *) core: Remove apr_brigade_flatten(), buffering and duplicated code
272      from the HTTP_IN filter, parse chunks in a single pass with zero copy.
273      Reduce memory usage by 48 bytes per request. [Graham Leggett]
274
275   *) core: Stop the HTTP_IN filter from attempting to write error buckets
276      to the output filters, which is bogus in the proxy case. Create a
277      clean mapping from APR codes to HTTP status codes, and use it where
278      needed. [Graham Leggett]
279
280   *) mod_proxy: Ensure network errors detected by the proxy are returned as
281      504 Gateway Timout as opposed to 502 Bad Gateway, in order to be
282      compliant with RFC2616 14.9.4 Cache Revalidation and Reload Controls.
283
284   *) mod_dav: mod_dav overrides dav_fs response on PUT failure. PR 35981
285      [Basant Kumar Kukreja <basant.kukreja sun.com>, Alejandro Alvarez
286      <alejandro.alvarez.ayllon cern.ch>]
287
288   *) mod_ldap: LDAP connections used for authentication were not respecting
289      LDAPConnectionPoolTimeout.  PR 54587
290
291   *) core: ap_rgetline_core now pulls from r->proto_input_filters.
292
293   *) mod_proxy_html: process parsed comments immediately. 
294      Fixes bug where parsed comments may be lost. [Nick Kew]
295
296   *) mod_proxy_html: introduce doctype for HTML 5 [Nick Kew]
297
298   *) mod_proxy_html: fix typo-bug processing "strict" vs "transitional"
299      HTML/XHTML [Nick Kew]
300
301   *) core: Add option to add valgrind support. Use it to reduce false positive
302      warnings in mod_ssl. [Stefan Fritsch]
303
304   *) mod_authn_file, mod_authn_dbd, mod_authn_dbm, mod_authn_socache:
305      Cache the result of the most recent password hash verification for every
306      keep-alive connection. This saves some expensive calculations.
307      [Stefan Fritsch]
308
309   *) http: Remove support for Request-Range header sent by Navigator 2-3 and
310      MSIE 3. [Stefan Fritsch]
311
312   *) core, http: Extend HttpProtocol with an option to enforce stricter HTTP
313      conformance or to only log the found problems. [Stefan Fritsch]
314
315   *) core: Correctly parse an IPv6 literal host specification in an absolute
316      URL in the request line. [Stefan Fritsch]
317
318   *) EventOpt MPM
319
320   *) core: Add LogLevelOverride directive that allows to override the
321      loglevel for clients from certain IPs. This also works for things
322      like the SSL handshake where <If> LogLevel ... </If> is evaluated
323      too late. [Stefan Fritsch]
324
325   *) core: Add new directive Warning to issue warnings from a configuration
326      file. Both Warning and Error now generate a timestamped log message.
327      [Fabien Coelho] 
328
329   *) ap_expr: Add SERVER_PROTOCOL_VERSION, ..._MAJOR, and ..._MINOR
330      variables. [Stefan Fritsch]
331
332   *) core: New directive RegisterHttpMethod for registering non-standard
333      HTTP methods. [Stefan Fritsch]
334
335   *) core: New directive HttpProtocol which allows to disable HTTP/0.9
336      support. [Stefan Fritsch]
337
338   *) mod_allowhandlers: New module to forbid specific handlers for specific
339      directories. [Stefan Fritsch]
340
341   *) mod_systemd: New module, for integration with systemd on Linux.
342      [Jan Kaluza <jkaluza redhat.com>]
343
344   *) WinNT MPM: Store pid and generation for each thread in scoreboard
345      to allow tracking of threads from exiting children via mod_status
346      or other such mechanisms.  [Jeff Trawick]
347
348   *) The following now respect DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR:
349      - APIs: ap_log_pid(), ap_remove_pid, ap_read_pid()
350      - core: the scoreboard (ScoreBoardFile), pid file (PidFile), and
351        mutexes (Mutex)
352      - mod_cache: thundering herd lock directory
353      - mod_lbmethod_heartbeat, mod_heartmonitor: heartbeat storage file
354      - mod_ldap: shared memory cache
355      - mod_socache_shmcb, mod_socache_dbm: shared memory or dbm for cache
356      [Jeff Trawick]
357
358   *) suexec: Add --enable-suexec-capabilites support on Linux, to use
359      setuid/setgid capability bits rather than a setuid root binary.
360      [Joe Orton]
361
362   *) suexec: Add support for logging to syslog as an alternative to logging
363      to a file; configure --without-suexec-logfile --with-suexec-syslog.  
364      [Joe Orton]
365
366   *) mod_ssl: Add support for TLS Next Protocol Negotiation.  PR 52210.
367      [Matthew Steele <mdsteele google.com>]
368
369   *) cross-compile: allow to provide CC_FOR_BUILD so that gen_test_char will
370      be compiled by the build compiler instead of the host compiler.
371      Also set CC_FOR_BUILD to 'cc' when cross-compilation is detected.
372      PR 51257. [Guenter Knauf]
373
374   *) core: In maintainer mode, replace apr_palloc with a version that
375      initializes the allocated memory with non-zero values, except if
376      AP_DEBUG_NO_ALLOC_POISON is defined. [Stefan Fritsch]
377
378   *) mod_policy: Add a new testing module to help server administrators
379      enforce a configurable level of protocol compliance on their
380      servers and application servers behind theirs. [Graham Leggett]
381
382   *) mod_firehose: Add a new debugging module able to record traffic
383      passing through the server in such a way that connections and/or
384      requests be reconstructed and replayed. [Graham Leggett]
385
386   *) mod_noloris
387
388   *) APREQ
389
390   *) Simple MPM
391
392   *) mod_serf
393
394   [Apache 2.5.0-dev includes those bug fixes and changes with the
395    Apache 2.4.xx tree as documented below, except as noted.]
396
397 Changes with Apache 2.4.x and later:
398
399   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/CHANGES?view=markup
400
401 Changes with Apache 2.2.x and later:
402
403   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?view=markup
404
405 Changes with Apache 2.0.x and later:
406
407   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/CHANGES?view=markup
408