]> granicus.if.org Git - apache/blob - CHANGES
handle POLLERR/POLLHUP during poll() to avoid high CPU busy loop.
[apache] / CHANGES
1                                                          -*- coding: utf-8 -*-
2 Changes with Apache 2.5.0
3
4   *) mod_proxy_wstunnel: Avoid busy loop on client errors, drop message
5      IDs 02445, 02446, and 02448 to TRACE1 from DEBUG. PR 56145.
6      [Joffroy Christen <joffroy.christen solvaxis com>, Eric Covener]
7
8   *) mod_lua: Update r:setcookie() to accept a table of options and add domain,
9      path and httponly to the list of options available to set.
10      PR 56128 [Edward Lu <Chaosed0 gmail com>, Daniel Gruno]
11      
12   *) mod_lua: Fix r:setcookie() to add, rather than replace,
13      the Set-Cookie header. PR56105
14      [Kevin J Walters <kjw ms com>, Edward Lu <Chaosed0 gmail com>]
15
16   *) mod_proxy_fcgi: Fix error message when an unexpected protocol version
17      number is received from the application.  PR 56110.  [Jeff Trawick]
18
19   *) mod_remoteip: Use the correct IP addresses to populate the proxy_ips field.
20      PR 55972. [Mike Rumph]
21
22   *) mod_proxy: Do not try to parse the regular expressions passed by
23      ProxyPassMatch as URL as they do not follow their syntax.
24      PR 56074. [Ruediger Pluem]
25
26   *) mod_remoteip: Correct the trusted proxy match test. PR 54651.
27      [Yoshinori Ehara <yoshinori ehara gmail com>, Eugene L <eugenel amazon com>]
28
29   *) mod_rewrite: Add %{CONN_REMOTE_ADDR} as the non-useragent counterpart to
30      %{REMOTE_ADDR}. PR 56094. [Edward Lu <Chaosed0 gmail com>]
31
32   *) mod_dir: Default to 2.2-like behavior and skip execution when method is
33      neither GET nor POST, such as for DAV requests. PR 54914. [Chris Darroch]
34
35   *) mod_rewrite: Rename the handler that does per-directory internal 
36      redirects to "rewrite-redirect-handler" from "redirect-handler" so
37      it is less ambiguous and less likely to be reused. [Eric Covener]
38
39   *) mod_dir: Add DirectoryCheckHandler to allow a 2.2-like behavior, skipping 
40      execution when a handler is already set. PR53929. [Eric Covener]
41
42   *) mod_rewrite: Protect against looping with the [N] flag by enforcing a 
43      default limit of 10000 iterations, and allowing each rule to change its
44      limit. [Eric Covener]
45
46   *) mod_ssl: Fix config merging of SSLOCSPEnable and SSLOCSPOverrideResponder.
47      [Jeff Trawick]
48
49   *) Add HttpContentLengthHeadZero and HttpExpectStrict directives.
50      [Yehuda Sadeh <yehuda inktank com>, Justin Erenkrantz]
51
52   *) core: Support named groups and backreferences within the LocationMatch,
53      DirectoryMatch, FilesMatch and ProxyMatch directives. [Graham Leggett]
54
55   *) mod_ssl: Remove the hardcoded algorithm-type dependency for the
56      SSLCertificateFile and SSLCertificateKeyFile directives, to enable
57      future algorithm agility, and deprecate the SSLCertificateChainFile
58      directive (obsoleted by SSLCertificateFile). [Kaspar Brand]
59
60   *) FreeBSD: Disable IPv4-mapped listening sockets by default for versions
61      5+ instead of just for FreeBSD 5. PR 53824. [Jeff Trawick]
62
63   *) mod_auth_form: Add a debug message when the fields on a form are not
64      recognised. [Graham Leggett]
65
66   *) mod_ssl: Add -t -DDUMP_CA_CERTS option which dumps the filenames of all
67      configured SSL CA certificates to stdout the same way as DUMP_CERTS does.
68      [Jan Kaluza]
69
70   *) mod_headers: Allow the "value" parameter of Header and RequestHeader to 
71      contain an ap_expr expression if prefixed with "expr=". [Eric Covener]
72
73   *) Add suspend_connection and resume_connection hooks to notify modules
74      when the thread/connection relationship changes.  (Currently implemented
75      only for the Event MPM; should be implemented for all async MPMs.)
76      [Jeff Trawick]
77
78   *) mod_ssl: Don't flush when an EOS is received. Prepares mod_ssl
79      to support write completion. [Graham Leggett]
80
81   *) prefork: Fix long delays when doing a graceful restart.
82      PR 54852 [Jim Jagielski, Arkadiusz Miskiewicz <arekm maven pl>]
83
84   *) core: Add parse_errorlog_arg callback to ap_errorlog_provider
85      to allow providers to check the ErrorLog argument. [Jan Kaluza]
86
87   *) core: Detect incomplete body in HTTP input filter and return
88      APR_INCOMPLETE. PR 55475 [Yann Ylavic <ylavic dev gmail com>]
89
90   *) mod_cgid: Use the servers Timeout for each read from a CGI script,
91      allow override with new CGIDRequestTimeout directive. PR43494
92      [Eric Covener, Toshikuni Fukaya <toshikuni-fukaya cybozu co jp>]
93
94   *) core: Add missing Reason-Phrase in HTTP response headers.
95      PR 54946. [Rainer Jung]
96
97   *) core: ensure any abnormal exit is reported to stderr if it's a tty.
98      PR 55670 [Nick Kew]
99
100   *) mod_proxy: Added support for unix domain sockets as the
101      backend server endpoint [Jim Jagielski, Blaise Tarr
102      <blaise tarr gmail com>]
103
104   *) mod_auth_form: Make sure the optional functions are loaded even when
105      the AuthFormProvider isn't specified. [Graham Leggett]
106
107   *) mod_lua: Let the Inter-VM get/set functions work with a global 
108      shared memory pool instead of a per-process pool. [Daniel Gruno]
109
110   *) ldap: Support ldaps when using the Microsoft LDAP SDK.
111      PR 54626. [Jean-Frederic Clere]
112
113   *) mod_proxy: Add ap_connection_reusable() for checking if a connection
114      is reusable as of this point in processing.  [Jeff Trawick]
115
116   *) mod_authnz_ldap: Change default value of AuthLDAPMaxSubGroupDepth to 0
117      to avoid performance problems when subgroups aren't in use. [Eric Covener]
118
119   *) mod_syslog: New module implementing syslog ap_error_log provider.
120      Previously, this code was part of core, now it's in separate module.
121      [Jan Kaluza]
122
123   *) core: Add ap_errorlog_provider to make ErrorLog logging modular. Move
124      syslog support from core to new mod_syslog. [Jan Kaluza]
125
126   *) core: draft-ietf-httpbis-p1-messaging-23 corrections regarding
127      TE/CL conflicts. [Yann Ylavic <ylavic.dev gmail com>, Jim Jagielski]
128      
129   *) WinNT MPM: If ap_run_pre_connection() fails or sets c->aborted, don't
130      save the socket for reuse by the next worker as if it were an 
131      APR_SO_DISCONNECTED socket. Restores 2.2 behavior. [Eric Covener]
132
133   *) mod_lua: Add a logging hook for modifying/skipping logs. [Daniel Gruno]
134
135   *) mod_status, mod_echo: Fix the display of client addresses.
136      They were truncated to 31 characters which is not enough for IPv6 addresses.
137      PR 54848 [Bernhard Schmidt <berni birkenwald de>]
138
139   *) mod_authnz_fcgi: New module to enable FastCGI authorizer
140      applications to authenticate and/or authorize clients.
141      [Jeff Trawick]
142
143   *) core: Add ap_log_data(), ap_log_rdata(), etc. for logging buffers.
144      [Jeff Trawick]
145
146   *) mod_unique_id: Use output of the PRNG rather than IP address and
147      pid, avoiding sleep() call and possible DNS issues at startup,
148      plus improving randomness for IPv6-only hosts.
149      [Jan Kaluza <jkaluza redhat.com>]
150
151   *) mod_authnz_ldap: Support primitive LDAP servers that do not accept
152      filters, such as "SDBM-backed LDAP" on z/OS, by allowing a special
153      filter "none" to be specified in AuthLDAPURL. [Eric Covener]
154
155   *) mod_file_cache: mod_file_cache should be able to serve files that
156      haven't had a Content-Type set via e.g. mod_mime. [Eric Covener]
157
158   *) core: merge AllowEncodedSlashes from the base configuration into
159      virtual hosts. [Eric Covener]
160
161   *) AIX: Install DSO's with "cp" instead of "install" in instdso.sh
162      [Eric Covener]
163
164   *) mod_ldap: Don't keep retrying if a new LDAP connection times out.
165      [Eric Covener]
166
167   *) mod_deflate: permit compilation of mod_deflate against a zlib that has
168      been configured with -D Z_PREFIX, which redefines the token "deflate".
169      [Eric Covener]
170
171   *) mod_socache_shmcb.c: Remove arbitrary restriction on shared memory size
172      previously limited to 64MB. [Jens Låås <jelaas gmail.com>]
173
174   *) mod_auth_digest: Use the secret when generating nonces in all cases and
175      not only when AuthName is used in .htaccess files (this change may cause
176      problems if used with round robin load balancers). Don't regenerate the
177      secret on graceful restarts. PR 54637  [Stefan Fritsch]
178
179   *) core: Remove apr_brigade_flatten(), buffering and duplicated code
180      from the HTTP_IN filter, parse chunks in a single pass with zero copy.
181      Reduce memory usage by 48 bytes per request. [Graham Leggett]
182
183   *) core: Stop the HTTP_IN filter from attempting to write error buckets
184      to the output filters, which is bogus in the proxy case. Create a
185      clean mapping from APR codes to HTTP status codes, and use it where
186      needed. [Graham Leggett]
187
188   *) mod_proxy: Ensure network errors detected by the proxy are returned as
189      504 Gateway Timout as opposed to 502 Bad Gateway, in order to be
190      compliant with RFC2616 14.9.4 Cache Revalidation and Reload Controls.
191
192   *) mod_dav: mod_dav overrides dav_fs response on PUT failure. PR 35981
193      [Basant Kumar Kukreja <basant.kukreja sun.com>, Alejandro Alvarez
194      <alejandro.alvarez.ayllon cern.ch>]
195
196   *) core, mod_ssl: Enable the ability for a module to reverse the sense of
197      a poll event from a read to a write or vice versa. This is a step on
198      the way to allow mod_ssl taking full advantage of the event MPM.
199      [Graham Leggett]
200
201   *) mod_ldap: LDAP connections used for authentication were not respecting
202      LDAPConnectionPoolTimeout.  PR 54587
203
204   *) core: ap_rgetline_core now pulls from r->proto_input_filters.
205
206   *) mod_proxy_html: process parsed comments immediately. 
207      Fixes bug where parsed comments may be lost. [Nick Kew]
208
209   *) mod_proxy_html: introduce doctype for HTML 5 [Nick Kew]
210
211   *) mod_proxy_html: fix typo-bug processing "strict" vs "transitional"
212      HTML/XHTML [Nick Kew]
213
214   *) core: Add option to add valgrind support. Use it to reduce false positive
215      warnings in mod_ssl. [Stefan Fritsch]
216
217   *) mod_authn_file, mod_authn_dbd, mod_authn_dbm, mod_authn_socache:
218      Cache the result of the most recent password hash verification for every
219      keep-alive connection. This saves some expensive calculations.
220      [Stefan Fritsch]
221
222   *) http: Remove support for Request-Range header sent by Navigator 2-3 and
223      MSIE 3. [Stefan Fritsch]
224
225   *) core, http: Extend HttpProtocol with an option to enforce stricter HTTP
226      conformance or to only log the found problems. [Stefan Fritsch]
227
228   *) core: Correctly parse an IPv6 literal host specification in an absolute
229      URL in the request line. [Stefan Fritsch]
230
231   *) EventOpt MPM
232
233   *) core: Add LogLevelOverride directive that allows to override the
234      loglevel for clients from certain IPs. This also works for things
235      like the SSL handshake where <If> LogLevel ... </If> is evaluated
236      too late. [Stefan Fritsch]
237
238   *) core: Add new directive Warning to issue warnings from a configuration
239      file. Both Warning and Error now generate a timestamped log message.
240      [Fabien Coelho] 
241
242   *) ap_expr: Add SERVER_PROTOCOL_VERSION, ..._MAJOR, and ..._MINOR
243      variables. [Stefan Fritsch]
244
245   *) core: New directive RegisterHttpMethod for registering non-standard
246      HTTP methods. [Stefan Fritsch]
247
248   *) core: New directive HttpProtocol which allows to disable HTTP/0.9
249      support. [Stefan Fritsch]
250
251   *) mod_allowhandlers: New module to forbid specific handlers for specific
252      directories. [Stefan Fritsch]
253
254   *) mod_systemd: New module, for integration with systemd on Linux.
255      [Jan Kaluza <jkaluza redhat.com>]
256
257   *) WinNT MPM: Store pid and generation for each thread in scoreboard
258      to allow tracking of threads from exiting children via mod_status
259      or other such mechanisms.  [Jeff Trawick]
260
261   *) The following now respect DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR:
262      - APIs: ap_log_pid(), ap_remove_pid, ap_read_pid()
263      - core: the scoreboard (ScoreBoardFile), pid file (PidFile), and
264        mutexes (Mutex)
265      - mod_cache: thundering herd lock directory
266      - mod_lbmethod_heartbeat, mod_heartmonitor: heartbeat storage file
267      - mod_ldap: shared memory cache
268      - mod_socache_shmcb, mod_socache_dbm: shared memory or dbm for cache
269      [Jeff Trawick]
270
271   *) suexec: Add --enable-suexec-capabilites support on Linux, to use
272      setuid/setgid capability bits rather than a setuid root binary.
273      [Joe Orton]
274
275   *) suexec: Add support for logging to syslog as an alternative to logging
276      to a file; configure --without-suexec-logfile --with-suexec-syslog.  
277      [Joe Orton]
278
279   *) mod_ssl: Add support for TLS Next Protocol Negotiation.  PR 52210.
280      [Matthew Steele <mdsteele google.com>]
281
282   *) cross-compile: allow to provide CC_FOR_BUILD so that gen_test_char will
283      be compiled by the build compiler instead of the host compiler.
284      Also set CC_FOR_BUILD to 'cc' when cross-compilation is detected.
285      PR 51257. [Guenter Knauf]
286
287   *) core: In maintainer mode, replace apr_palloc with a version that
288      initializes the allocated memory with non-zero values, except if
289      AP_DEBUG_NO_ALLOC_POISON is defined. [Stefan Fritsch]
290
291   *) mod_policy: Add a new testing module to help server administrators
292      enforce a configurable level of protocol compliance on their
293      servers and application servers behind theirs. [Graham Leggett]
294
295   *) mod_firehose: Add a new debugging module able to record traffic
296      passing through the server in such a way that connections and/or
297      requests be reconstructed and replayed. [Graham Leggett]
298
299   *) mod_noloris
300
301   *) APREQ
302
303   *) Simple MPM
304
305   *) mod_serf
306
307   [Apache 2.5.0-dev includes those bug fixes and changes with the
308    Apache 2.4.xx tree as documented below, except as noted.]
309
310 Changes with Apache 2.4.x and later:
311
312   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/CHANGES?view=markup
313
314 Changes with Apache 2.2.x and later:
315
316   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?view=markup
317
318 Changes with Apache 2.0.x and later:
319
320   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/CHANGES?view=markup
321