]> granicus.if.org Git - apache/blob - STATUS
Proposed backport of r1808008
[apache] / STATUS
1 APACHE 2.4 STATUS:                        -*- mode: text; coding: utf-8 -*-
2 Last modified at [$Date$]
3
4 The current version of this file can be found at:
5
6   * http://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x/STATUS
7
8 The current development branch of this software can be found at:
9
10   * http://svn.apache.org/repos/asf/httpd/httpd/trunk
11
12 Consult the following STATUS files for information on related projects:
13
14   * http://svn.apache.org/repos/asf/apr/apr/trunk/STATUS
15   * http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x/STATUS
16   * http://svn.apache.org/repos/asf/apr/apr-util/branches/1.4.x/STATUS
17   * http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x/STATUS
18   * http://svn.apache.org/repos/asf/apr/apr-util/branches/1.5.x/STATUS
19   * http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x/STATUS
20   * http://svn.apache.org/repos/asf/apr/apr-util/branches/1.6.x/STATUS
21
22 Patches considered for backport are noted in their branches' STATUS:
23
24   * http://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x/STATUS
25   * http://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x/STATUS
26
27
28 Release history:
29     [NOTE that x.{odd}.z versions are strictly Alpha/Beta releases,
30           while x.{even}.z versions are Stable/GA releases.]
31
32     2.4.28  : In development.
33     2.4.27  : Tagged on July 6, 2017. Released on July 11, 2017.
34     2.4.26  : Tagged on June 13, 2017. Released on June 19, 2017.
35     2.4.25  : Tagged on December 16, 2016. Released on December 21, 2016.
36     2.4.24  : Tagged on December 16, 2016, not released.
37     2.4.23  : Tagged on June 30, 2016. Released on July 05, 2016.
38     2.4.22  : Tagged on June 20, 2016, not released.
39     2.4.21  : Tagged on June 16, 2016, not released.
40     2.4.20  : Tagged on April 4, 2016. Released on April 11, 2016.
41     2.4.19  : Tagged on March 21, 2016, not released.
42     2.4.18  : Tagged on December 8, 2015. Released on December 14, 2015.
43     2.4.17  : Tagged on October 9, 2015. Released October 13, 2015.
44     2.4.16  : Tagged on July 9, 2015. Released July 15, 2015
45     2.4.15  : Tagged on June 19, 2015. Not released.
46     2.4.14  : Tagged on June 11, 2015. Not released.
47     2.4.13  : Tagged on June 4, 2015. Not released.
48     2.4.12  : Tagged on January 22, 2015. Released Jan 29, 2015
49     2.4.11  : Tagged on January 15, 2015. Not released.
50     2.4.10  : Tagged on July 15, 2014. Released July 21, 2014
51     2.4.9   : Tagged on March 13, 2014. Released on March 17, 2014
52     2.4.8   : Tagged on March 11, 2014. Not released.
53     2.4.7   : Tagged on November 19, 2013. Released on Nov 25, 2013
54     2.4.6   : Tagged on July 15, 2013. Released July, 22, 2013
55     2.4.5   : Tagged on July 11, 2013, not released.
56     2.4.4   : Tagged on February 18, 2013. Released Feb 25, 2013
57     2.4.3   : Tagged on August 17, 2012. Released Aug 18, 2012
58     2.4.2   : Tagged on April 5, 2012. Released Apr 17, 2012.
59     2.4.1   : Tagged on February 13, 2012. Released Feb 21, 2012.
60     2.4.0   : Tagged on January 16, 2012, not released.
61     2.3.16  : Tagged on December 15, 2011.
62     2.3.15  : Tagged on November 8, 2011. Released Nov. 15, 2011.
63     2.3.14  : Tagged on August 1, 2011. Released Aug. 9, 2011.
64     2.3.13  : Tagged on June 28, 2011, not released.
65     2.3.12  : Tagged on May 11, 2011. Released May 23, 2011.
66     2.3.11  : Released as Beta on March 7, 2011.
67     2.3.10  : Tagged on December 13, 2010. Released Dec 21, 2010.
68     2.3.9   : Tagged on November 23, 2010, not released.
69     2.3.8   : Tagged on August 24, 2010.
70     2.3.7   : Tagged on August 19, 2010, not released.
71     2.3.6   : Released on June 21, 2010.
72     2.3.5   : Released on January 26, 2010.
73     2.3.4   : Released on December 8, 2009.
74     2.3.3   : Tagged on November 11, 2009, not released.
75     2.3.2   : Tagged on March 23, 2009, not released.
76     2.3.1   : Tagged on January 2, 2009, not released.
77     2.3.0   : Tagged on December 6, 2008, not released.
78
79 Contributors looking for a mission:
80
81   * Just do an egrep on "TODO" or "XXX" in the source.
82
83   * Review the bug database at: http://issues.apache.org/bugzilla/
84
85   * Review the "PatchAvailable" bugs in the bug database:
86
87     https://issues.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=Apache+httpd-2&keywords=PatchAvailable
88
89     After testing, you can append a comment saying "Reviewed and tested".
90
91   * Open bugs in the bug database.
92
93   * See also the STATUS file in the docs/ directory, which lists documentation-specific TODO items.
94
95
96 CURRENT RELEASE NOTES:
97
98   * Forward binary compatibility is expected of Apache 2.4.x releases, such
99     that no MMN major number changes will occur after 2.4.1.  Such changes can
100     only be made in the trunk.
101
102   * All commits to branches/2.4.x must be reflected in SVN trunk,
103     as well, if they apply.  Logical progression is commit to trunk
104     then merge into branches/2.4.x, as applicable.
105
106   * Current exceptions for RTC for this branch:
107     . mod_proxy_http2
108     . mod_lua
109     . documentation
110     . non-Unix build
111     . non-Unix, single-platform code
112
113 RELEASE SHOWSTOPPERS:
114
115 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
116   [ start all new proposals below, under PATCHES PROPOSED. ]
117
118   *) mod_proxy_wstunnel fix PR 61142
119      2.4.x patch: svn merge -c 1801594 ^/httpd/httpd/trunk .
120      +1: jfclere, jim, covener
121      ylavic: CHANGES-log please?
122
123
124 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
125   [ New proposals should be added at the end of the list ]
126
127   *) mod_proxy, mod_ssl: Handle SSLProxy* directives in <Proxy> sections,
128      allowing per backend TLS configuration.
129      trunk patch: http://svn.apache.org/r1740928
130                   http://svn.apache.org/r1740960
131                   http://svn.apache.org/r1740967
132                   http://svn.apache.org/r1740987
133                   http://svn.apache.org/r1740998
134                   http://svn.apache.org/r1742697
135                   http://svn.apache.org/r1756976
136                   http://svn.apache.org/r1781313
137      2.4.x patch: http://home.apache.org/~ylavic/patches/httpd-2.4.x-r1740928_and_co-v3.patch
138      +1: ylavic, mrumph
139      mrumph: Since this has been sitting for awhile, there are several places
140              where this patch needs to be adjusted against recent changes to 2.4.x.
141      ylavic: With current 2.4.x (r1807662), there seems to be only a conflict with
142              MMN, which can probably be taken by the backporter. I don't see the
143              other places where it needs adjustments, Mike?
144
145   *) mod_remoteip: Add PROXY protocol support
146      trunk patch: http://svn.apache.org/r1776575
147                   http://svn.apache.org/r1776578 (doc fix)
148                   http://svn.apache.org/r1776627 (shortened name + doc fix)
149                   http://svn.apache.org/r1776674 (attribution moved to CHANGES)
150                   http://svn.apache.org/r1776740 (attribution updated in mod_remotip.c)
151                   http://svn.apache.org/r1778268 (fix compiler warning)
152                   http://svn.apache.org/r1780725 (set buckets aside)
153                   http://svn.apache.org/r1781030 (fix strict GCC warning)
154                   http://svn.apache.org/r1781031 (reference the filter by handle)
155                   http://svn.apache.org/r1781701 (rework optional processing case)
156                   http://svn.apache.org/r1788674 (final edge cases/ignore slave conns)
157                   http://svn.apache.org/r1789800 (remove optional processing)
158                   http://svn.apache.org/r1790169 (rename "exception" directive)
159                   http://svn.apache.org/r1790457 (Update directive name in err message)
160      2.4 convenience patch (includes CHANGES):
161                   http://home.apache.org/~jim/patches/RemoteIPProxyProtocol.2.4.x.patch
162      +1: druggeri, jim
163      mrumph: I had a chance to review this proposal.
164              I committed some suggested changes to trunk in r1806985.
165              Also, the copyright in mod_remoteip.c is of some concern.
166              Perhaps the terms of the copyright should be included in that note.
167              And on a personal note, today is my last day with Oracle.
168              So it may well be my last day with Apache as well.
169              It has been great working with all of you.
170
171    * mod_journald: Add new module mod_journald to log error logs into journald.
172      trunk patch: http://svn.apache.org/r1610339
173                   http://svn.apache.org/r1621806
174      2.4.x patch: http://people.apache.org/~jkaluza/patches/httpd-2.4.x-mod_journald.patch
175      +1: jkaluza, jim
176      jchampion: Looks like the headers require GCC extensions to compile, so
177                 mod_journald can't be configured in maintainer mode (-std=c89).
178                 Can anyone else reproduce, or is it just my distro?
179
180   *) Makefile: Use different variables to track normal modules and MPMs during
181                build. Only the enabled MPM is uncommented in the configuration
182                if multiple DSOs are built, and LoadModule for MPMs will now come
183                before LoadModule for the normal modules. Patch by rjung.
184      trunk patch: https://svn.apache.org/r1729235
185                   https://svn.apache.org/r1730079
186                   https://svn.apache.org/r1801665
187      2.4.x patch: svn merge -c1729235 -c1730079 -c1801665 ^/httpd/httpd/trunk .
188      +1: jchampion, icing
189
190   *) mod_proxy: Loadfactor can now be a decimal number (eg: 1.25)
191      trunk patch: http://svn.apache.org/r1805188
192                   http://svn.apache.org/r1805206 (partial)
193      2.4.x patch: http://home.apache.org/~jim/patches/httpd-2.4-loadfactor.patch
194      +1: jim
195      ylavic: Missing r1805190? Also, I'd use double/%lf instead of float/%f for
196              floating point arithmetic...
197
198   *) htdigest: prevent a buffer overflow when a string exceeds its maximum size
199                in a password file. PR: 61511
200      trunk patch: http://svn.apache.org/r1808008
201                   http://svn.apache.org/r1808085
202      2.4.x patch: svn merge -c1808008 -c1808085 ^/httpd/httpd/trunk .
203      +1: elukey
204
205 PATCHES/ISSUES THAT ARE BEING WORKED
206   [ New entries should be added at the START of the list ]
207
208   *) mod_ssl: Return 502 instead of 500 when SSL peer check or 
209      proxy_post_handshake hook fails. 
210      Trunk patch: r1645529 (works)
211      2.4.x patch which adds CHANGES: https://emptyhammock.com/media/downloads/r1645529-to-2.4.x.txt
212      +1: trawick
213      ylavic: there may be missing bits, see thread for commit r1736510.
214
215   *) core: Drop an invalid Last-Modified header value coming
216      from a (F)CGI script instead of replacing it with Unix epoch.
217      Warn the users about Last-Modified header value replacements
218      and violations of the RFC.
219      trunk patch: http://svn.apache.org/r1748379
220                   http://svn.apache.org/r1750747
221                   http://svn.apache.org/r1750749
222                   http://svn.apache.org/r1750953
223                   http://svn.apache.org/r1751138
224                   http://svn.apache.org/r1751139
225                   http://svn.apache.org/r1751147
226                   http://svn.apache.org/r1757818
227      2.4.x: trunk patches work, final view:
228             http://home.apache.org/~elukey/httpd-2.4.x-core-last_modified_tz_logging.patch
229      The problem has been discussed in dev@ extensively but we did not reach a common
230      agreement about how to proceed in the long term. While we wait, I would really like
231      to introduce useful logs for the users (the starting point of this change was a users@
232      email thread). If this is not the right way to go I will move the patch to other
233      sections of STATUS (stalled or being worked).
234      The code has been tested with a simple PHP script returning different Last-Modified
235      headers (GMT now, GMT now Europe/Paris, GMT tomorrow, GMT yesterday, PST now).
236      +1: elukey
237
238   *) http: Don't remove the Content-Length of zero from a HEAD response if
239      it comes from an origin server, module or script. Allow the previous
240      behaviour (for legacy/buggy modules only, not origin) by also backporting
241      the HttpContentLengthHeadZero directive (and also HttpExpectStrict which
242      comes for free with the same commit).
243      trunk patch: http://svn.apache.org/r1554303
244                   http://svn.apache.org/r1678215
245      2.4.x patch: http://people.apache.org/~ylavic/httpd-2.4.x-preserve_head_cl_zero.patch
246      +1: ylavic, jim
247      ylavic: r1554303 issued a major MMN bump, but since the ABI change is two
248              ints added at the end of core_server_config, the proposed merge
249              does a minor bump only.
250      minfrin: Two new directives need to be documented.
251
252    * mod_proxy_http: Don't establish or reuse a backend connection before pre-
253      fetching the request body, so to minimize the delay between it is supposed
254      to be alive and the first bytes sent: this is a best effort to prevent the
255      backend from closing because of idle or keepalive timeout in the meantime.
256      Also, handle a new "proxy-flushall" environment variable which allows to
257      flush any forwarded body data immediately. PR 56541+37920.
258      trunk patch: http://svn.apache.org/r1656259
259                   http://svn.apache.org/r1656359 (CHANGES entry)
260      2.4.x patch: trunk works (modulo CHANGES, docs/log-message-tags)
261      +1: ylavic
262      -0: jim:  This seems to be a hit to normal performance, to handle an
263                error and/or non-normal condition. The pre-fetch is
264                expensive, and is always done, even before we know that
265                the backend is available to rec' it. I understand the
266                error described, but is the fix actually worth it (plus
267                it seems to allow for a DDoS vector).
268      ylavic: It seems to me that the problem is real since we reuse the
269              connection before prefetching 16K (either controlled by the
270              client, or by an input filter), we currently always prefetch
271              these bytes already. Regarding performance I don't see any
272              difference (more cycles) compared with the current code.
273              However I think I failed to rebuild the header_brigade when
274              the proxy loop is retried (ping), so I need to rework this.
275              Do you think we'd better remove the prefetch, or maybe just
276              make it nonblocking (by default)?
277         jim: Non-blocking seems the best way to handle...
278
279    * mod_dav: Allow other modules to become providers and add ACLs
280      to the DAV response. Requires a release of apr-util v1.6.
281      trunk patch: http://svn.apache.org/r1748322
282      2.4.x: trunk works modulo CHANGES/MMN
283      +1: minfrin
284      rpluem asks: Will this compile with apr-util < v1.6 and keep
285      mod_dav working (without the new features of the patch of course)?
286      I doubt that we will require apr-util 1.6 for the lifetime of 2.4.x
287      (see the discussion around ap_cstr_casecmp[n] an apr 1.6)
288      minfrin: Yes, as you can see in the patch everything applies only
289      if APR_XML_X2T_PARSED is defined, and the patch was tested with
290      both apr-util v1.6 and apr-util v1.5.
291      -1: jorton, breaks binary backwards compat per dev@ discuss
292          msgid <20160902120654.GA12674@redhat.com>
293          (& also, making the structure change with apr-util version
294          means it breaks binary compat across an apr-util upgrade?)
295
296    * Support PCRE2 (10.x) in place of PCRE (8.x).
297      Submitted by: wrowe, Petr Pisar [ppisar redhat.com]
298      trunk patches:
299          http://svn.apache.org/r1773454
300          http://svn.apache.org/r1773741
301          http://svn.apache.org/r1773742
302          http://svn.apache.org/r1773839
303          http://svn.apache.org/r1773870
304          http://svn.apache.org/r1773882
305      wrowe notes that the current code is too inefficient, owing to the fact
306      that the ovector is a required allocation and is no longer allocated on
307      the stack, by design. The correct fix is an apr userdata allocation on
308      the appropriate pool, which would be thread-safe, but the actual API of
309      ap_regexec[_len]() offers us no pool. We cannot associate that pool with
310      the ap_regex_t, because a single regex may be used by many threads in
311      parallel and is not thread-safe beyond initialization.
312      So the only fix allowing us to use PCRE 10 in httpd 2.4 would be to write
313      this as a thread safe storage buffer for the majority of cases (<10 $args)
314      and we don't have a portable tls mechanism to do so.
315
316
317 PATCHES/ISSUES THAT ARE STALLED
318
319    * core: Add ap_errorlog_provider to make ErrorLog logging modular. This
320            backport keeps syslog logging as part of httpd core and only adds
321            API to allow other modules to be used for error logging.
322      trunk patch: http://svn.apache.org/r1525597
323                   http://svn.apache.org/r1525664
324                   http://svn.apache.org/r1525845
325                   http://svn.apache.org/r1527003
326                   http://svn.apache.org/r1527005
327                   http://svn.apache.org/r1532344
328                   http://svn.apache.org/r1539988
329                   http://svn.apache.org/r1541029
330                   http://svn.apache.org/r1543979
331                   http://svn.apache.org/r1544156
332                   http://svn.apache.org/r1626978
333      2.4.x patch: http://people.apache.org/~jkaluza/patches/httpd-2.4.x-errorlog_provider.patch
334      +1: jkaluza
335      +1: covener w/ doc or code to fix syntax (providername:providerarg not supported like syslog or socacheproviders, 
336                  needs 2 args which is not valid in ErrorLog manual)
337      trawick: nit: fix "writing" in "/* NULL if we are writing to syslog */"
338               (sorry, haven't finished reviewing completely)
339      jim: What is the status of this??
340
341    * mod_proxy: Add ap_proxy_define_match_worker() and use it for ProxyPassMatch
342      and ProxyMatch section to distinguish between normal workers and workers
343      with regex substitutions in the name. Implement handling of such workers
344      in ap_proxy_get_worker(). Fixes the bug when regex workers were not
345      matched and used for request. PR 43513.
346      trunk patch: http://svn.apache.org/r1609680
347                   http://svn.apache.org/r1609688
348                   http://svn.apache.org/r1641381
349      ylavic: Merge patch provided (reusing new->real to avoid double de_socketfy() call).
350              Also added missing r1609688 to the patchset.
351      2.4.x patch: http://people.apache.org/~ylavic/httpd-2.4.x-ap_proxy_define_match_worker.patch
352      +1: ylavic
353      -0: covener tried to review this one in Austin with Jeff.  Does the added match function 
354          really cover a very narrow set of parameters with the way it skips over backreferences?
355          Also, why a new API vs. just setting the field inline?
356
357    * mod_systemd: New module, for integration with systemd on Linux.
358      trunk patch: http://svn.apache.org/r1393976
359                   http://svn.apache.org/r1393997
360                   http://svn.apache.org/r1484554
361                   http://svn.apache.org/r1528032
362                   http://svn.apache.org/r1528034
363                   http://svn.apache.org/r1614821
364                   http://svn.apache.org/r1618579
365                   http://svn.apache.org/r1618588
366      2.4.x patch: http://people.apache.org/~jkaluza/patches/mod_systemd/httpd-2.4.x-mod_systemd.patch
367      +1: jkaluza
368      sf comments: The IdleShutdown logic seems broken. Consider a single
369                   active connection that is stalled for 10 seconds. That
370                   connection will be broken after GracefulShutdownTimeout.
371                   A better logic would be to check if there is any open
372                   connection that is not in keep-alive state.
373
374    * core: Add support for systemd socket activation.
375      trunk patch: http://svn.apache.org/r1511033
376                   http://svn.apache.org/r1608686
377                   http://svn.apache.org/r1608694
378                   http://svn.apache.org/r1608703
379                   http://svn.apache.org/r1608721
380                   http://svn.apache.org/r1608744
381      2.4.x patch: http://people.apache.org/~jkaluza/patches/mod_systemd/httpd-2.4.x-socket-activation.patch
382      +1: jkaluza
383
384   * mod_proxy: Ensure network errors detected by the proxy are returned as
385     504 Gateway Timeout as opposed to 502 Bad Gateway
386     trunk patch: https://svn.apache.org/viewvc?view=revision&revision=1480058
387     2.4.x patch: trunk patch works modulo CHANGES
388     +1:
389     -1: rpluem: This change is still disputed. See
390         http://mail-archives.apache.org/mod_mbox/httpd-dev/201305.mbox/%3C1B16B9E3-87BA-4EEF-939C-7C7313B54714%40gbiv.com%3E
391
392   * cross-compile: allow to provide CC_FOR_BUILD so that gen_test_char will be
393     compiled by the build compiler instead of the host compiler.
394     Also set CC_FOR_BUILD to 'cc' when cross-compilation is detected.
395     Trunk patches: http://svn.apache.org/viewvc?view=revision&revision=1327907
396                    http://svn.apache.org/viewvc?view=revision&revision=1328390
397                    http://svn.apache.org/viewvc?view=revision&revision=1328714
398     2.4 patch: http://people.apache.org/~fuankg/diffs/httpd-2.4.x-cross_compile.diff
399     fuankg: on hold until we agree for a better and more simple solution ...
400
401    * Makefile.win: Added copying of .vbs / .wsf CGIs to Windows install target.
402                    Moved fixing of shebang to separate target so that it is
403                    no longer executed by default and all CGIs remain inactive.
404      trunk patch: http://svn.apache.org/viewvc?view=revision&revision=1387984
405                   http://svn.apache.org/viewvc?view=revision&revision=1421203
406                   http://svn.apache.org/viewvc?view=revision&revision=1421591
407      2.4.x patch: http://people.apache.org/~fuankg/diffs/httpd-2.4.x-Makefile.win.diff
408      +1 fuankg, gsmith
409      -.8: trawick
410           This commit is essentially deciding that an httpd install on
411           Windows now has printenv/testcgi written in 2 more languages.
412           To the extent that the usefulness is that it shows how to make scripts
413           of these types executable by httpd, I believe that the documentation
414           is the proper place to solve that.  To the extent that the usefullness
415           is to show how to implement a CGI in these particular languages, I believe
416           that the httpd distribution and documentation in general is not the
417           place for that.  Historically these types of scripts have caused problems
418           for downstream vendorsas well as newbies (and sometimes the intersection
419           of those two groups) who don't understand that these are information leaks
420           once they are enabled, and the subtlety of the way they are disabled ("Apache
421           messed up the first line; let me fix that") contributes to that.
422      fuankg notes: I've just added a big warning to all CGI scripts which should now
423           make absolutely clear that these CGIs are for testing purpose only - so those
424           who enable those scripts with inserting the right shebang should be 100% aware
425           of any risks (this should cover your last point).
426      jim: trawick, does the above address your concerns?
427      trawick: to some extent (somebody reading the script gets an idea)
428           Why isn't the configuration requirement documented instead
429           of described indirectly in a sample?
430           Why are these new samples added to the install without three
431           votes?  (I didn't veto it; put your name next to the two
432           existing ones and I'll be satisfied that enough people
433           considered this addition as an appropriate solution for a
434           real httpd usability problem.)
435      wrowe: I'd agree with trawick, and suggest that these scripts can begin
436             their life somewhere in the manual/ tree.  This really seems like
437             the place where /usr/share/httpd/examples/ would be useful, but
438             there isn't an ordinary directory for that.  Since we want none
439             of the scripts to function 'out of the box', what about a new
440             cgi-examples/ dir alongside cgi-bin/? Otherwise manual/cgi/examples
441             might work?
442
443    * core: block Define and Undefine in vhost and directory context. Because
444      it is EXEC_ON_READ, it "breaks out" of these contexts anyway.
445      trunk patch: http://svn.apache.org/r1656063
446                   http://svn.apache.org/r1656122
447      2.4.x patch:  http://people.apache.org/~covener/patches/2.4.x-define-limits.diff
448      +1: covener (I need to review the docs manually in this area)
449      -1: wrowe (blocking will break "working" .conf files on a subversion update
450                 meant to pick up security fixes.  "Alerting" I would agree to.)
451
452