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