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