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