]> granicus.if.org Git - apache/blob - CHANGES
RFC2616 defines #rules as:
[apache] / CHANGES
1                                                          -*- coding: utf-8 -*-
2 Changes with Apache 2.5.0
3
4   *) mod_cache: Accept HT (Horizontal Tab) when parsing cache related header
5      fields as described in RFC2616. [Christophe Jaillet]
6
7   *) htpasswd/htdigest: Disable support for bcrypt on EBCDIC platforms. 
8      apr-util's bcrypt implementation doesn't tolerate EBCDIC.
9
10   *) core: Make PR57785 REDIRECT_URL fix opt-in with directive 
11      QualifyRedirectURL.  [Eric Covener]
12
13   *) core: add ap_get_protocol_upgrades() to retrieve the list of protocols
14      that a client could possibly upgrade to. Use in first request on a 
15      connection to announce protocol choices.
16      [Stefan Eissing]
17
18   *) mod_http2: reworked deallocation on connection shutdown and worker
19      abort. Separate parent pool for all workers. worker threads are joined
20      on planned worker shutdown.
21      [Yann Ylavic, Stefan Eissing]
22      
23   *) mod_ssl: when receiving requests for other virtual hosts than the handshake
24      server, the SSL parameters are checked for equality. With equal 
25      configuration, requests are passed for processing. Any change will trigger
26      the old behaviour of "421 Misdirected Request".
27      SSL now remembers the cipher suite that was used for the last handshake.
28      This is compared against for any vhost/directory cipher specification. 
29      Detailed examination of renegotiation is only done when these do not
30      match.
31      Renegotiation is 403ed when a master connection is present. Exact reason
32      is given additionally in a request note.
33      [Stefan Eissing]
34      
35   *) core: Limit to ten the number of tolerated empty lines between request,
36      and consume them before the pipelining check to avoid possible response
37      delay when reading the next request without flushing.  [Yann Ylavic]
38
39   *) mod_session: Introduce SessionExpiryUpdateInterval which allows to
40      configure the session/cookie expiry's update interval. PR 57300.
41      [Paul Spangler <paul.spangler ni.com>]
42
43   *) core: Extend support for asynchronous write completion from the
44      network filter to any connection or request filter. [Graham Leggett]
45
46   *) mpm_event: Free memory earlier when shutting down processes.
47      [Stefan Fritsch]
48
49   *) mod_ssl: Make the output filter more friendly with deferred write and
50      response pipelining. [Yann Ylavic, Joe Orton]
51
52   *) core/util_script: relax alphanumeric filter of environment variable names
53      on Windows to allow '(' and ')' for passing PROGRAMFILES(X86) et.al.
54      unadulterated in 64 bit versions of Windows. PR 46751.  
55      [John <john leineweb de>]
56
57   *) mod_auth_digest: remove AuthDigestEnableQueryStringHack which is no
58      more documented since dec 2012 (r1415960). [Christophe Jaillet]
59
60   *) mod_charset_lite: On EBCDIC platforms, make sure mod_charset_lite runs
61      after other resource-level filters. [Eric Covener]
62
63   *) mod_dir: Responses that go through "FallbackResource" might appear to
64      hang due to unterminated chunked encoding. PR58292. [Eric Covener]
65
66   *) mod_alias: Limit Redirect expressions to directory (Location) context
67      and redirect statuses (implicit or explicit).
68      [Yann Ylavic, Ruediger Pluem]
69
70   *) mod_substitute: Fix configuraton merge order.
71      PR 57641 [<Marc.Stern approach.be>]
72
73   *) mod_ssl: When SSLVerify is disabled (NONE), don't force a renegotiation if
74      the SSLVerifyDepth applied with the default/handshaken vhost differs from
75      the one applicable with the finally selected vhost.  [Yann Ylavic]
76      
77   *) mod_ssl: add ALPN support by allowing other modules to register callbacks
78      for negotiation of the application layer protocol.  PR 52210.
79      [Matthew Steele <mdsteele google com>, Joe Orton, Jim Jagielski,
80       Stefan Eissing <stefan eissing org>, Rainer Jung, Ruediger Pluem,
81       Kaspar Brand]
82
83   *) http: Don't remove the Content-Length of zero from a HEAD response if
84      it comes from an origin server, module or script.  [Yann Ylavic]
85
86   *) http: Add support for RFC2324/RFC7168. [Graham Leggett]
87
88   *) mod_rewrite: Add support for starting External Rewriting Programs
89      as non-root user on UNIX systems by specifying username and group name
90      as third argument of RewriteMap directive. [Jan Kaluza]
91
92   *) mod_authn_core: Add expression support to AuthName and AuthType.
93      [Graham Leggett]
94
95   *) suexec: Filter out the HTTP_PROXY environment variable because it is
96      treated as alias for http_proxy by some programs. [Stefan Fritsch]
97
98   *) mod_proxy_http: Don't establish or reuse a backend connection before pre-
99      fetching the request body, so to minimize the delay between it is supposed
100      to be alive and the first bytes sent: this is a best effort to prevent the
101      backend from closing because of idle or keepalive timeout in the meantime.
102      Also, handle a new "proxy-flushall" environment variable which allows to
103      flush any forwarded body data immediately. PR 56541+37920. [Yann Ylavic]
104
105   *) core: Define and UnDefine are no longer permitted in
106      directory context. Previously they would always be evaulated
107      as the configuration was read without regard for the directory
108      context. [Eric Covener]
109
110   *) config: For directives that do not expect any arguments, enforce
111      that none are specified in the configuration file. 
112      [Joachim Zobel <jzobel heute-morgen.de>, Eric Covener]
113
114   *) mod_rewrite: Improve 'bad flag delimeters' startup error by showing
115      how the input was tokenized.  PR 56528. [Edward Lu <Chaosed0 gmail.com>]
116
117   *) mod_proxy: Don't put non balancer-member workers in error state by
118      default for connection or 500/503 errors, and honor status=+I for
119      any error.  PR 48388.  [Yann Ylavic]
120
121   *) mod_socache_memcache: Pass expiration time through to memcached. PR 55445.
122      [Faidon Liambotis <paravoid debian.org>, Joe Orton]
123
124   *) ap_expr: Add filemod function for checking file modification dates
125      [Daniel Gruno]
126      
127   *) mod_authnz_ldap: Resolve crashes with LDAP authz and non-LDAP authn since 
128      r1608202. [Eric Covener]
129  
130   *) core: Ensure that httpd exits with an error status when the MPM fails
131      to run.  [Yann Ylavic]
132
133   *) apreq: Content-Length header should be always interpreted as a decimal.
134      Leading 0 could be erroneously considered as an octal value. PR 56598.
135      [Chris Card <ctcard hotmail com>]
136   
137   *) mod_proxy: Now allow for 191 character worker names, with non-fatal
138      errors if name is truncated. PR53218. [Jim Jagielski]
139
140   *) mod_ssl: Add optional function "ssl_get_tls_cb" to allow support
141      for channel bindings.  [Simo Sorce <simo redhat.com>]
142
143   *) mod_proxy_wstunnel: Concurrent websockets messages could be 
144      lost or delayed with ProxyWebsocketAsync enabled.  
145      [Edward Lu <Chaosed0 gmail.com>]
146
147   *) core, mod_info: Add compiled and loaded PCRE versions to version
148      number display.  [Rainer Jung]
149
150   *) mod_authnz_ldap: Return LDAP connections to the pool before the handler
151      is run, instead of waiting until the end of the request. [Eric Covener]
152
153   *) mod_log_config: Add GlobalLog to allow a globally defined log to
154      be inherited by virtual hosts that define a CustomLog.
155      [Edward Lu <Chaosed0 gmail.com>]
156
157   *) mod_proxy_html: support automatic detection of doctype and processing
158      of FPIs.  PR56285 [Micha Lenk <micha lenk info>, Nick Kew]
159
160   *) mod_proxy_html: skip documents shorter than 4 bytes
161      PR 56286 [Micha Lenk <micha lenk info>]
162
163   *) mod_proxy_fdpass: Fix computation of the size of 'struct sockaddr_un'
164      when passed to 'connect()'.
165      [Graham Dumpleton <grahamd apache org>]
166
167   *) core: Add ap_mpm_resume_suspended() API to allow a suspended connection
168      to resume. PR56333 
169      [Artem <artemciy gmail.com>, Edward Lu <Chaosed0 gmail.com>]
170
171   *) core: Add ap_mpm_register_socket_callback_timeout() API. [Eric Covener]
172
173   *) mod_proxy_wstunnel: Honor ProxyWebsocketIdleTimeout in asynchronous
174      processing mode. [Eric Covener]
175
176   *) mod_authnz_ldap: Fail explicitly when the filter is too long. Remove
177      unnecessary apr_pstrdup() and strlen(). [Graham Leggett]
178
179   *) Add the ldap-search option to mod_authnz_ldap, allowing authorization
180      to be based on arbitrary expressions that do not include the username.
181      [Graham Leggett]
182
183   *) Add the ldap function to the expression API, allowing LDAP filters and
184      distinguished names based on expressions to be escaped correctly to
185      guard against LDAP injection. [Graham Leggett]
186
187   *) Add module mod_ssl_ct, which provides an implementation of Certificate
188      Transparency (RFC 6962) for httpd.  [Jeff Trawick]
189
190   *) mod_remoteip: Prevent an external proxy from presenting an internal
191      proxy. PR 55962. [Mike Rumph]
192
193   *) mod_ssl: Add hooks to allow other modules to perform processing at
194      several stages of initialization and connection handling.  See
195      mod_ssl_openssl.h.  [Jeff Trawick]
196
197   *) mod_proxy_wstunnel: Avoid sending error responses down an upgraded
198      websockets connection as it is being close down. [Eric Covener]
199   
200   *) mod_proxy_wstunnel: Allow the administrator to cap the amount
201      of time a synchronous websockets connection stays idle with 
202      ProxyWebsocketIdleTimeout. [Eric Covener]
203
204   *) mod_proxy_wstunnel: Change to opt-in for asynchronous support, adding 
205      directives ProxyWebsocketAsync and ProxyWebsocketAsyncDelay. 
206      [Eric Covener]
207
208   *) mod_proxy_wstunnel: Stop leaking websockets backend connections under
209      event MPM (trunk-only). [Eric Covener]
210
211   *) mod_proxy_http: Add detach_backend hook (potentially usable
212      in other proxy scheme handlers).  [Jeff Trawick]
213
214   *) mod_deflate: Add DeflateAlterETag to control how the ETag
215      is modified. The 'NoChange' parameter mimics 2.2.x behavior.
216      PR 45023, PR 39727. [Eric Covener]
217
218   *) mod_rewrite: Add 'BNF' (backreferences-no-plus) flag to RewriteRule to 
219      allow spaces in backreferences to be encoded as %20 instead of '+'.
220      [Eric Covener]
221      
222   *) mod_rewrite: Support an optional list of characters to escape in the 
223      argument for the 'B' (escape backreferences) flag. [Eric Covener]
224
225   *) mod_dir: Default to 2.2-like behavior and skip execution when method is
226      neither GET nor POST, such as for DAV requests. PR 54914. [Chris Darroch]
227
228   *) mod_rewrite: Rename the handler that does per-directory internal 
229      redirects to "rewrite-redirect-handler" from "redirect-handler" so
230      it is less ambiguous and less likely to be reused. [Eric Covener]
231
232   *) mod_rewrite: Protect against looping with the [N] flag by enforcing a 
233      default limit of 10000 iterations, and allowing each rule to change its
234      limit. [Eric Covener]
235
236   *) mod_ssl: Fix config merging of SSLOCSPEnable and SSLOCSPOverrideResponder.
237      [Jeff Trawick]
238
239   *) Add HttpContentLengthHeadZero and HttpExpectStrict directives.
240      [Yehuda Sadeh <yehuda inktank com>, Justin Erenkrantz]
241
242   *) mod_ssl: Add -t -DDUMP_CA_CERTS option which dumps the filenames of all
243      configured SSL CA certificates to stdout the same way as DUMP_CERTS does.
244      [Jan Kaluza]
245
246   *) mod_ssl: Don't flush when an EOS is received. Prepares mod_ssl
247      to support write completion. [Graham Leggett]
248
249   *) core: Add parse_errorlog_arg callback to ap_errorlog_provider
250      to allow providers to check the ErrorLog argument. [Jan Kaluza]
251
252   *) mod_cgid: Use the servers Timeout for each read from a CGI script,
253      allow override with new CGIDRequestTimeout directive. PR43494
254      [Eric Covener, Toshikuni Fukaya <toshikuni-fukaya cybozu co jp>]
255
256   *) core: ensure any abnormal exit is reported to stderr if it's a tty.
257      PR 55670 [Nick Kew]
258
259   *) mod_lua: Let the Inter-VM get/set functions work with a global 
260      shared memory pool instead of a per-process pool. [Daniel Gruno]
261
262   *) ldap: Support ldaps when using the Microsoft LDAP SDK.
263      PR 54626. [Jean-Frederic Clere]
264
265   *) mod_authnz_ldap: Change default value of AuthLDAPMaxSubGroupDepth to 0
266      to avoid performance problems when subgroups aren't in use. [Eric Covener]
267
268   *) mod_syslog: New module implementing syslog ap_error_log provider.
269      Previously, this code was part of core, now it's in separate module.
270      [Jan Kaluza]
271
272   *) core: Add ap_errorlog_provider to make ErrorLog logging modular. Move
273      syslog support from core to new mod_syslog. [Jan Kaluza]
274
275   *) mod_status, mod_echo: Fix the display of client addresses.
276      They were truncated to 31 characters which is not enough for IPv6 addresses.
277      PR 54848 [Bernhard Schmidt <berni birkenwald de>]
278
279   *) mod_unique_id: Use output of the PRNG rather than IP address and
280      pid, avoiding sleep() call and possible DNS issues at startup,
281      plus improving randomness for IPv6-only hosts.
282      [Jan Kaluza <jkaluza redhat.com>]
283
284   *) mod_file_cache: mod_file_cache should be able to serve files that
285      haven't had a Content-Type set via e.g. mod_mime. [Eric Covener]
286
287   *) core: merge AllowEncodedSlashes from the base configuration into
288      virtual hosts. [Eric Covener]
289
290   *) AIX: Install DSO's with "cp" instead of "install" in instdso.sh
291      [Eric Covener]
292
293   *) mod_ldap: Don't keep retrying if a new LDAP connection times out.
294      [Eric Covener]
295
296   *) mod_deflate: permit compilation of mod_deflate against a zlib that has
297      been configured with -D Z_PREFIX, which redefines the token "deflate".
298      [Eric Covener]
299
300   *) mod_auth_digest: Use the secret when generating nonces in all cases and
301      not only when AuthName is used in .htaccess files (this change may cause
302      problems if used with round robin load balancers). Don't regenerate the
303      secret on graceful restarts. PR 54637  [Stefan Fritsch]
304
305   *) core: Remove apr_brigade_flatten(), buffering and duplicated code
306      from the HTTP_IN filter, parse chunks in a single pass with zero copy.
307      Reduce memory usage by 48 bytes per request. [Graham Leggett]
308
309   *) core: Stop the HTTP_IN filter from attempting to write error buckets
310      to the output filters, which is bogus in the proxy case. Create a
311      clean mapping from APR codes to HTTP status codes, and use it where
312      needed. [Graham Leggett]
313
314   *) mod_proxy: Ensure network errors detected by the proxy are returned as
315      504 Gateway Timout as opposed to 502 Bad Gateway, in order to be
316      compliant with RFC2616 14.9.4 Cache Revalidation and Reload Controls.
317
318   *) mod_dav: mod_dav overrides dav_fs response on PUT failure. PR 35981
319      [Basant Kumar Kukreja <basant.kukreja sun.com>, Alejandro Alvarez
320      <alejandro.alvarez.ayllon cern.ch>]
321
322   *) mod_ldap: LDAP connections used for authentication were not respecting
323      LDAPConnectionPoolTimeout.  PR 54587
324
325   *) core: ap_rgetline_core now pulls from r->proto_input_filters.
326
327   *) mod_proxy_html: process parsed comments immediately. 
328      Fixes bug where parsed comments may be lost. [Nick Kew]
329
330   *) mod_proxy_html: introduce doctype for HTML 5 [Nick Kew]
331
332   *) mod_proxy_html: fix typo-bug processing "strict" vs "transitional"
333      HTML/XHTML [Nick Kew]
334
335   *) core: Add option to add valgrind support. Use it to reduce false positive
336      warnings in mod_ssl. [Stefan Fritsch]
337
338   *) mod_authn_file, mod_authn_dbd, mod_authn_dbm, mod_authn_socache:
339      Cache the result of the most recent password hash verification for every
340      keep-alive connection. This saves some expensive calculations.
341      [Stefan Fritsch]
342
343   *) http: Remove support for Request-Range header sent by Navigator 2-3 and
344      MSIE 3. [Stefan Fritsch]
345
346   *) core, http: Extend HttpProtocol with an option to enforce stricter HTTP
347      conformance or to only log the found problems. [Stefan Fritsch]
348
349   *) core: Correctly parse an IPv6 literal host specification in an absolute
350      URL in the request line. [Stefan Fritsch]
351
352   *) EventOpt MPM
353
354   *) core: Add LogLevelOverride directive that allows to override the
355      loglevel for clients from certain IPs. This also works for things
356      like the SSL handshake where <If> LogLevel ... </If> is evaluated
357      too late. [Stefan Fritsch]
358
359   *) core: Add new directive Warning to issue warnings from a configuration
360      file. Both Warning and Error now generate a timestamped log message.
361      [Fabien Coelho] 
362
363   *) ap_expr: Add SERVER_PROTOCOL_VERSION, ..._MAJOR, and ..._MINOR
364      variables. [Stefan Fritsch]
365
366   *) core: New directive RegisterHttpMethod for registering non-standard
367      HTTP methods. [Stefan Fritsch]
368
369   *) core: New directive HttpProtocol which allows to disable HTTP/0.9
370      support. [Stefan Fritsch]
371
372   *) mod_allowhandlers: New module to forbid specific handlers for specific
373      directories. [Stefan Fritsch]
374
375   *) mod_systemd: New module, for integration with systemd on Linux.
376      [Jan Kaluza <jkaluza redhat.com>]
377
378   *) WinNT MPM: Store pid and generation for each thread in scoreboard
379      to allow tracking of threads from exiting children via mod_status
380      or other such mechanisms.  [Jeff Trawick]
381
382   *) The following now respect DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR:
383      - APIs: ap_log_pid(), ap_remove_pid, ap_read_pid()
384      - mod_cache: thundering herd lock directory
385      - mod_lbmethod_heartbeat, mod_heartmonitor: heartbeat storage file
386      - mod_ldap: shared memory cache
387      - mod_socache_shmcb, mod_socache_dbm: shared memory or dbm for cache
388      [Jeff Trawick]
389
390   *) suexec: Add --enable-suexec-capabilites support on Linux, to use
391      setuid/setgid capability bits rather than a setuid root binary.
392      [Joe Orton]
393
394   *) suexec: Add support for logging to syslog as an alternative to logging
395      to a file; configure --without-suexec-logfile --with-suexec-syslog.  
396      [Joe Orton]
397
398   *) mod_ssl: Add support for TLS Next Protocol Negotiation.  PR 52210.
399      [Matthew Steele <mdsteele google.com>]
400
401   *) cross-compile: allow to provide CC_FOR_BUILD so that gen_test_char will
402      be compiled by the build compiler instead of the host compiler.
403      Also set CC_FOR_BUILD to 'cc' when cross-compilation is detected.
404      PR 51257. [Guenter Knauf]
405
406   *) core: In maintainer mode, replace apr_palloc with a version that
407      initializes the allocated memory with non-zero values, except if
408      AP_DEBUG_NO_ALLOC_POISON is defined. [Stefan Fritsch]
409
410   *) mod_policy: Add a new testing module to help server administrators
411      enforce a configurable level of protocol compliance on their
412      servers and application servers behind theirs. [Graham Leggett]
413
414   *) mod_firehose: Add a new debugging module able to record traffic
415      passing through the server in such a way that connections and/or
416      requests be reconstructed and replayed. [Graham Leggett]
417
418   *) mod_noloris
419
420   *) APREQ
421
422   *) Simple MPM
423
424   *) mod_serf
425
426   [Apache 2.5.0-dev includes those bug fixes and changes with the
427    Apache 2.4.xx tree as documented below, except as noted.]
428
429 Changes with Apache 2.4.x and later:
430
431   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/CHANGES?view=markup
432
433 Changes with Apache 2.2.x and later:
434
435   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?view=markup
436
437 Changes with Apache 2.0.x and later:
438
439   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/CHANGES?view=markup
440