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