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