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