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