]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
4 years agofr doc XML files updates.
Lucien Gentis [Sat, 23 Jan 2021 14:36:23 +0000 (14:36 +0000)] 
fr doc XML files updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885852 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSynch with trunk:
Christophe Jaillet [Sat, 23 Jan 2021 08:11:39 +0000 (08:11 +0000)] 
Synch with trunk:
Fix a typo
Remove a useless empty line
Turn a tab into spaces to be consistent

(r1740880 on trunk)

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885837 13f79535-47bb-0310-9956-ffa450edef68

4 years agos/2020/2021/
Christophe Jaillet [Sat, 23 Jan 2021 07:29:38 +0000 (07:29 +0000)] 
s/2020/2021/

Happy New Year!

(r1885835 on trunk)

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885836 13f79535-47bb-0310-9956-ffa450edef68

4 years agoAdd some missing hyper links to directives.
Christophe Jaillet [Sat, 23 Jan 2021 06:54:18 +0000 (06:54 +0000)] 
Add some missing hyper links to directives.
Remove some <var> in <syntax> to be more consistant with the rest of the doc.
Remove a duplicated traling ".".

(r1885833 on trunk)

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885834 13f79535-47bb-0310-9956-ffa450edef68

4 years agoUpdate mergeinfo
Christophe Jaillet [Fri, 22 Jan 2021 16:56:26 +0000 (16:56 +0000)] 
Update mergeinfo

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885808 13f79535-47bb-0310-9956-ffa450edef68

4 years agoRemove backported item
Christophe Jaillet [Fri, 22 Jan 2021 16:46:52 +0000 (16:46 +0000)] 
Remove backported item

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885807 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1881303,r1881304,r1881305,r1881306 from trunk
Christophe Jaillet [Fri, 22 Jan 2021 16:46:12 +0000 (16:46 +0000)] 
Merge r1881303,r1881304,r1881305,r1881306 from trunk

  *) Fix some Windows 64 compilation warnings

Submitted by: jailletc36
Reviewed by: jailletc36, minfrin, ylavic (by inspection)
Backported by: jailletc36

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885806 13f79535-47bb-0310-9956-ffa450edef68

4 years agoPropose coalescing fixes for mod_ssl. [skip ci]
Joe Orton [Thu, 21 Jan 2021 11:41:58 +0000 (11:41 +0000)] 
Propose coalescing fixes for mod_ssl. [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885753 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge most of r1747469 from trunk
Christophe Jaillet [Tue, 19 Jan 2021 19:29:43 +0000 (19:29 +0000)] 
Merge most of r1747469 from trunk

      * When ap_cstr_casecmp[n] have been introduced, in r1747469, it has
         introduced many differences between 2.4.x and trunk.
         Direct backporting was not that easy because:
            - it was initialy introduced as ap_casecmpstr[n] with several patches
            - it touched some files that were not in 2.4.x branch
         Later, parts of it have already been backported.

         This patch tries to clean all this.

Submitted by: many people
Reviewed by: jailletc36, minfrin, ylavic
Backported by: jailletc36

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885697 13f79535-47bb-0310-9956-ffa450edef68

4 years agoPropose fix for PR 63010. [skip ci].
Yann Ylavic [Tue, 19 Jan 2021 14:21:54 +0000 (14:21 +0000)] 
Propose fix for PR 63010. [skip ci].

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885692 13f79535-47bb-0310-9956-ffa450edef68

4 years agoVote (by inspection) & promote. [skip ci]
Yann Ylavic [Mon, 18 Jan 2021 21:29:59 +0000 (21:29 +0000)] 
Vote (by inspection) & promote. [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885674 13f79535-47bb-0310-9956-ffa450edef68

4 years agoVote & promote. [skip ci]
Yann Ylavic [Mon, 18 Jan 2021 21:26:30 +0000 (21:26 +0000)] 
Vote & promote. [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885673 13f79535-47bb-0310-9956-ffa450edef68

4 years agoVote.
Graham Leggett [Mon, 18 Jan 2021 20:54:36 +0000 (20:54 +0000)] 
Vote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885672 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSynch lowercase/Uppercase in a comment with trunk
Christophe Jaillet [Mon, 18 Jan 2021 19:37:18 +0000 (19:37 +0000)] 
Synch lowercase/Uppercase in a comment with trunk

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885671 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBackported [skip ci].
Yann Ylavic [Mon, 18 Jan 2021 17:39:53 +0000 (17:39 +0000)] 
Backported [skip ci].

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885667 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1885659 from trunk:
Yann Ylavic [Mon, 18 Jan 2021 17:39:12 +0000 (17:39 +0000)] 
Merge r1885659 from trunk:

mod_auth_digest: Fast validation of the nonce's base64 to fail early if
                 the format can't match anyway.

Submitted by: ylavic
Reviewed by: ylavic, covener, jailletc36

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885666 13f79535-47bb-0310-9956-ffa450edef68

4 years agoVote + promote
Christophe Jaillet [Mon, 18 Jan 2021 17:31:23 +0000 (17:31 +0000)] 
Vote + promote

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885664 13f79535-47bb-0310-9956-ffa450edef68

4 years agoUpdate proposal
Christophe Jaillet [Mon, 18 Jan 2021 17:28:21 +0000 (17:28 +0000)] 
Update proposal

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885663 13f79535-47bb-0310-9956-ffa450edef68

4 years agovote
Eric Covener [Mon, 18 Jan 2021 17:24:59 +0000 (17:24 +0000)] 
vote

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885662 13f79535-47bb-0310-9956-ffa450edef68

4 years agoPropose [skip ci].
Yann Ylavic [Mon, 18 Jan 2021 17:14:00 +0000 (17:14 +0000)] 
Propose [skip ci].

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885660 13f79535-47bb-0310-9956-ffa450edef68

4 years agoRemove non-user-visible changes, plus other tweaks. [skip ci]
Joe Orton [Mon, 18 Jan 2021 09:15:37 +0000 (09:15 +0000)] 
Remove non-user-visible changes, plus other tweaks. [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885641 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1885631 from trunk:
Eric Covener [Sun, 17 Jan 2021 23:56:55 +0000 (23:56 +0000)] 
Merge r1885631 from trunk:

other half of command

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885632 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1884326 from trunk:
Yann Ylavic [Sun, 17 Jan 2021 22:53:59 +0000 (22:53 +0000)] 
Merge r1884326 from trunk:

Fix bash syntax in travis_run_linux.sh.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885629 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1884306, r1885626 from trunk:
Yann Ylavic [Sun, 17 Jan 2021 22:46:45 +0000 (22:46 +0000)] 
Merge r1884306, r1885626 from trunk:

ci: generate as many core files as there are crashes.

Get Lua dev package from liblua5.3-dev.

Call sysctl though sudo.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885628 13f79535-47bb-0310-9956-ffa450edef68

4 years agoAdd mergeinfos after backports.
Yann Ylavic [Sun, 17 Jan 2021 21:00:19 +0000 (21:00 +0000)] 
Add mergeinfos after backports.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885623 13f79535-47bb-0310-9956-ffa450edef68

4 years agoComment.
Graham Leggett [Sun, 17 Jan 2021 17:32:45 +0000 (17:32 +0000)] 
Comment.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885614 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBackport to 2.4:
Graham Leggett [Sun, 17 Jan 2021 17:23:37 +0000 (17:23 +0000)] 
Backport to 2.4:

  *) Easy patches: synch 2.4.x and trunk
        - mod_http2: Fix ascii art
        - mod_http2: fix some dox comments
        - mod_dav: Don't call memcpy(,NULL,0)
        - mod_ssl: Pass base_server in OpenSSL init log message
        - .gdbinit: tab to space
        - mod_so: don't try to load modules from a NULL path
        - mod_cache_file/mod_lua: Add missing "const" or "static const" qualifiers
                                  in some command_rec definitions
        - mod_lua: Fix compilation error if APR_HAS_THREADS is not defined
        - core/log: fix an harmless warning spoted by gcc 10
        - mod_ssl: update comment
     trunk patch:
          http://svn.apache.org/r1810233
          http://svn.apache.org/r1827530
          http://svn.apache.org/r1874144
          http://svn.apache.org/r1877262
          http://svn.apache.org/r1878263
          http://svn.apache.org/r1880461
          http://svn.apache.org/r1882053
          http://svn.apache.org/r1882060
          http://svn.apache.org/r1883452
          http://svn.apache.org/r1884551
     2.4.x patch: svn merge -c 1810233,1827530,1874144,1877262,1878263,1880461,1882053,1882060,1883452,1884551 ^/httpd/httpd/trunk .
     +1: jailletc36, jorton, minfrin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885612 13f79535-47bb-0310-9956-ffa450edef68

4 years agoVote, then promote.
Graham Leggett [Sun, 17 Jan 2021 17:20:20 +0000 (17:20 +0000)] 
Vote, then promote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885611 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBackport to v2.4:
Graham Leggett [Sun, 17 Jan 2021 17:07:42 +0000 (17:07 +0000)] 
Backport to v2.4:

  *) Easy patches: synch 2.4.x and trunk
        - mod_dav: save a few cycles
        - mod_{ssl,md}: init_stapling_status hooks should return an int
        - util_md5: avoid temporary stack result in ap_md5_binary()
        - mod_proxy_balancer: Add a missing </tr>
        - mod_md: get_stapling_status hooks should return an int
        - mod_session: Improve a message about SessionExpiryUpdateInterval values
     trunk patch:
          http://svn.apache.org/r1837388
          http://svn.apache.org/r1876549
          http://svn.apache.org/r1877551
          http://svn.apache.org/r1882210
          http://svn.apache.org/r1882399
          http://svn.apache.org/r1883414
     2.4.x patch: svn merge -c 1837388,1876549,1877551,1882210,1882399,1883414 ^/httpd/httpd/trunk .
     +1: jailletc36, ylavic, minfrin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885610 13f79535-47bb-0310-9956-ffa450edef68

4 years agoVote followed directly by a promote.
Graham Leggett [Sun, 17 Jan 2021 17:03:23 +0000 (17:03 +0000)] 
Vote followed directly by a promote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885609 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBackport r1885581 to fix test-framework failure
Christophe Jaillet [Sun, 17 Jan 2021 16:48:20 +0000 (16:48 +0000)] 
Backport r1885581 to fix test-framework failure

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885608 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBackport to 2.4:
Graham Leggett [Sun, 17 Jan 2021 16:41:47 +0000 (16:41 +0000)] 
Backport to 2.4:

  *) mod_proxy: common spooling code to allow mod_proxy_fgci proxy-sendcl. BZ 57087
     trunk patch: https://svn.apache.org/r1884067
                  https://svn.apache.org/r1884068
                  https://svn.apache.org/r1884069
                  https://svn.apache.org/r1884070
     2.4.x patch: http://people.apache.org/~ylavic/patches/2.4.x-mod_proxy_fcgi-sendcl-5on5.patch
                  https://github.com/apache/httpd/pull/162
     +1: ylavic, covener, minfrin
     ylavic: Long standing BZ (always send Content-Length, according to the CGI
             specs) which is addressed by reusing mod_proxy_http's spooling
             code (moved to proxy_util) in mod_proxy_fcgi. The user still needs
             to SetEnv proxy-sendcl for that (2.4 compat).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885607 13f79535-47bb-0310-9956-ffa450edef68

4 years agoPromote directly following a vote.
Graham Leggett [Sun, 17 Jan 2021 16:39:51 +0000 (16:39 +0000)] 
Promote directly following a vote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885606 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBackport to v2.4:
Graham Leggett [Sun, 17 Jan 2021 16:21:35 +0000 (16:21 +0000)] 
Backport to v2.4:

  *) mod_proxy_http: handle upgrade/tunneling protocols. BZ 61616 is about
                     mod_proxy_connect but there has been wstunnel reports
                     on dev@ about that too lately.
     trunk patch: https://svn.apache.org/r1678771
                  https://svn.apache.org/r1832348
                  https://svn.apache.org/r1869338
                  https://svn.apache.org/r1869420
                  https://svn.apache.org/r1878367
                  https://svn.apache.org/r1877557
                  https://svn.apache.org/r1877558
                  https://svn.apache.org/r1877646
                  https://svn.apache.org/r1877695
                  https://svn.apache.org/r1879401
                  https://svn.apache.org/r1879402
                  https://svn.apache.org/r1880200
                  https://svn.apache.org/r1885239
                  https://svn.apache.org/r1885240
                  https://svn.apache.org/r1885244
     2.4.x patch: http://people.apache.org/~ylavic/patches/2.4.x-mod_proxy_http-upgrade-4on5-v2.patch
                  https://github.com/apache/httpd/pull/158
     +1: ylavic, covener, minfrin
     ylavic: All the corresponding trunk changes to mod_proxy_wstunnel (but
             r1885239) have been dropped for this backport proposal, the goal
             being to handle upgrade in mod_proxy_http from now, while r1885239
             allows to benefit from the Upgrade improvements done in proxy_http
             with existing wstunnel configurations (provided mod_proxy_http
             module is loaded).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885605 13f79535-47bb-0310-9956-ffa450edef68

4 years agoVote followed by a promote.
Graham Leggett [Sun, 17 Jan 2021 16:20:29 +0000 (16:20 +0000)] 
Vote followed by a promote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885604 13f79535-47bb-0310-9956-ffa450edef68

4 years agoreadd vote
Eric Covener [Sat, 16 Jan 2021 16:33:54 +0000 (16:33 +0000)] 
readd vote

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885577 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBackport 2.4:
Graham Leggett [Sat, 16 Jan 2021 14:22:41 +0000 (14:22 +0000)] 
Backport 2.4:

  *) mod_proxy_http: individual status codes for ProxyErrorOverride. BZ 63628
     trunk patch: https://svn.apache.org/r1754974
                  https://svn.apache.org/r1754975
                  https://svn.apache.org/r1876404
                  https://svn.apache.org/r1877696
                  https://svn.apache.org/r1877697
                  https://svn.apache.org/r1877728
     2.4.x patch: http://people.apache.org/~ylavic/patches/2.4.x-mod_proxy_http-override-3on5.patch
                  https://github.com/apache/httpd/pull/157
     +1: ylavic, covener, minfrin
     ylavic: Besides ProxyErrorOverride individual status codes, merging now
             the non-functional changes in ap_proxy_http_process_response()
             around ProxyErrorOverride code helps reducing conflicts with the
             following commits, and with trunk/2.4 alignment still.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885575 13f79535-47bb-0310-9956-ffa450edef68

4 years agoPromote after a vote.
Graham Leggett [Sat, 16 Jan 2021 14:20:35 +0000 (14:20 +0000)] 
Promote after a vote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885574 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBackport to 2.4:
Graham Leggett [Sat, 16 Jan 2021 14:08:29 +0000 (14:08 +0000)] 
Backport to 2.4:

  *) core: output filtering improvements (ease following patches, align trunk/2.4)
     trunk patch: https://svn.apache.org/r1836032
                  https://svn.apache.org/r1884295
                  https://svn.apache.org/r1884296
                  https://svn.apache.org/r1884304
                  https://svn.apache.org/r1836237
                  https://svn.apache.org/r1836258
                  https://svn.apache.org/r1836354
                  https://svn.apache.org/r1843939
     2.4.x patch: http://people.apache.org/~ylavic/patches/2.4.x-core_output_filtering-2on5.patch
                  https://github.com/apache/httpd/pull/156
     +1: ylavic, covener, minfrin
     ylavic: These core output filter changes are needed for the proxy
             tunneling loop to work properly/non-blocking (PR 158 below). They
             do not include the major filter setaside/reinstate changes from
             trunk, reluing on existing 2.4 c->data_in_{input,output}_filter
             flags only.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885573 13f79535-47bb-0310-9956-ffa450edef68

4 years agoVote and after that promote.
Graham Leggett [Sat, 16 Jan 2021 14:06:51 +0000 (14:06 +0000)] 
Vote and after that promote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885572 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBackport to 2.4:
Graham Leggett [Sat, 16 Jan 2021 13:49:50 +0000 (13:49 +0000)] 
Backport to 2.4:

  *) mod_proxy_http: Fix 100-continue deadlock for spooled request bodies. BZ 63855.
     trunk patch: https://svn.apache.org/r1769760
                  https://svn.apache.org/r1770220
                  https://svn.apache.org/r1868576
                  https://svn.apache.org/r1868653
                  https://svn.apache.org/r1883639
                  https://svn.apache.org/r1883640
                  https://svn.apache.org/r1884218
                  https://svn.apache.org/r1884220
     2.4.x patch: http://people.apache.org/~ylavic/patches/2.4.x-bz63855-1on5.patch
                  https://github.com/apache/httpd/pull/154
     +1: ylavic, covener, minfrin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885571 13f79535-47bb-0310-9956-ffa450edef68

4 years agoVote followed by a promote.
Graham Leggett [Sat, 16 Jan 2021 13:48:47 +0000 (13:48 +0000)] 
Vote followed by a promote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885570 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBackport to 2.4:
Graham Leggett [Sat, 16 Jan 2021 13:27:39 +0000 (13:27 +0000)] 
Backport to 2.4:

  *) core: Correctly strip unwanted headers on 304 response
     Trunk version of patch:
        http://svn.apache.org/r1881590
        http://svn.apache.org/r1881624
     +1: ylavic, covener, minfrin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885569 13f79535-47bb-0310-9956-ffa450edef68

4 years agoVote, then promote.
Graham Leggett [Sat, 16 Jan 2021 13:26:45 +0000 (13:26 +0000)] 
Vote, then promote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885568 13f79535-47bb-0310-9956-ffa450edef68

4 years agofr doc rebuild.
Lucien Gentis [Sat, 16 Jan 2021 13:25:08 +0000 (13:25 +0000)] 
fr doc rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885567 13f79535-47bb-0310-9956-ffa450edef68

4 years agofr doc XML file update.
Lucien Gentis [Sat, 16 Jan 2021 13:24:22 +0000 (13:24 +0000)] 
fr doc XML file update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885566 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBackport to 2.4:
Graham Leggett [Sat, 16 Jan 2021 13:03:49 +0000 (13:03 +0000)] 
Backport to 2.4:

  *) core: Make writing the pidfile atomic to avoid startup failures
     after (e.g.) system crashes, but also races with multiple
     concurrent "httpd -k restart" runs which have a race between
     reading and writing a fresh pidfile.
     trunk patch: https://svn.apache.org/r1875153
                  https://svn.apache.org/r1875240
                  https://svn.apache.org/r1877645
     2.4.x patch: https://patch-diff.githubusercontent.com/raw/apache/httpd/pull/163.patch
     +1: jorton, covener, ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885562 13f79535-47bb-0310-9956-ffa450edef68

4 years agoVote.
Graham Leggett [Sat, 16 Jan 2021 13:01:05 +0000 (13:01 +0000)] 
Vote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885561 13f79535-47bb-0310-9956-ffa450edef68

4 years agoupdate transformations.
Nilgun Belma Buguner [Fri, 15 Jan 2021 22:09:40 +0000 (22:09 +0000)] 
update transformations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885535 13f79535-47bb-0310-9956-ffa450edef68

4 years agoupdate for sync with English docs.
Nilgun Belma Buguner [Fri, 15 Jan 2021 22:09:14 +0000 (22:09 +0000)] 
update for sync with English docs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885534 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1885464 from trunk:
Eric Covener [Thu, 14 Jan 2021 03:01:33 +0000 (03:01 +0000)] 
Merge r1885464 from trunk:

PR55078: remove old Protocol info

followup to 1885463

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885465 13f79535-47bb-0310-9956-ffa450edef68

4 years agoReview*1. [skip ci]
Joe Orton [Mon, 11 Jan 2021 08:52:50 +0000 (08:52 +0000)] 
Review*1. [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885357 13f79535-47bb-0310-9956-ffa450edef68

4 years agoProposal to synch most of the ap_cstr_casecmp[n] mess between 2.4.x and trunk
Christophe Jaillet [Sun, 10 Jan 2021 16:40:38 +0000 (16:40 +0000)] 
Proposal to synch most of the ap_cstr_casecmp[n] mess between 2.4.x and trunk

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885337 13f79535-47bb-0310-9956-ffa450edef68

4 years agofr doc rebuild.
Lucien Gentis [Sat, 9 Jan 2021 14:33:52 +0000 (14:33 +0000)] 
fr doc rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885298 13f79535-47bb-0310-9956-ffa450edef68

4 years agofr doc XML file update.
Lucien Gentis [Sat, 9 Jan 2021 14:33:09 +0000 (14:33 +0000)] 
fr doc XML file update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885297 13f79535-47bb-0310-9956-ffa450edef68

4 years agoEasy proposal
Christophe Jaillet [Fri, 8 Jan 2021 21:03:05 +0000 (21:03 +0000)] 
Easy proposal

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885278 13f79535-47bb-0310-9956-ffa450edef68

4 years agoVote. [skip ci].
Yann Ylavic [Thu, 7 Jan 2021 21:01:42 +0000 (21:01 +0000)] 
Vote. [skip ci].

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885251 13f79535-47bb-0310-9956-ffa450edef68

4 years agoEasy proposal
Christophe Jaillet [Thu, 7 Jan 2021 20:07:27 +0000 (20:07 +0000)] 
Easy proposal

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885250 13f79535-47bb-0310-9956-ffa450edef68

4 years agoUpdate, vote, promote. [skip ci]
Yann Ylavic [Thu, 7 Jan 2021 17:54:39 +0000 (17:54 +0000)] 
Update, vote, promote. [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885248 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBackported [skip ci].
Yann Ylavic [Tue, 5 Jan 2021 12:29:38 +0000 (12:29 +0000)] 
Backported [skip ci].

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885145 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1881311 from trunk:
Yann Ylavic [Tue, 5 Jan 2021 12:29:00 +0000 (12:29 +0000)] 
Merge r1881311 from trunk:

Avoid a core dump at startup if "AllowOverride nonfatal" is used without any '=' after "nonfatal".

Note that "nonfatal=" (without anything else) or "nonfatal=foo" are still not reported as erroneous and are silently ignored.

Submitted by: jailletc36
Reviewed by: jailletc36, giovanni, ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885144 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBackported [skip ci].
Yann Ylavic [Tue, 5 Jan 2021 11:10:08 +0000 (11:10 +0000)] 
Backported [skip ci].

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885143 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1883810 from trunk:
Yann Ylavic [Tue, 5 Jan 2021 10:42:52 +0000 (10:42 +0000)] 
Merge r1883810 from trunk:

mod_auth_digest: fix crash with ONE_PROCESS (debug) mode shutdown.

Avoid double free/cleanup by just letting shm/rmm/global_mutex cleanups do
their work on restart/exit.

Set the globals to NULL in initialize_tables() should cleanup_tables() be
called on error.

Submitted by: ylavic
Reviewed by: ylavic, jorton, covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885142 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1883744 from trunk:
Yann Ylavic [Tue, 5 Jan 2021 10:30:09 +0000 (10:30 +0000)] 
Merge r1883744 from trunk:

mod_proxy: pconf vs pchild consistency, and correctness in ONE_PROCESS mode.

Consistently use pconf for ap_proxy_define_{worker,balancer}() and pchild for
ap_proxu_initialize_{worker,balancer}() in mod_proxy [child_]init code.

pchild is needed in _initialize() for mutexes/shms' child_init and cleanup,
and to avoid a crash on shutdown (i.e. ap_terminate) in ONE_PROCESS mode,
where worker->cp->pool is destroyed twice, let's register conn_pool_cleanup()
as a pre_cleanup of pchild.

Submitted by: ylavic
Reviewed by: ylavic, jorton, covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885141 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1883730 from trunk:
Yann Ylavic [Tue, 5 Jan 2021 10:26:40 +0000 (10:26 +0000)] 
Merge r1883730 from trunk:

mod_case_filter_in: fix memory leak.

Each ap_malloc()ed buffer should be free()d with its bucket.

Submitted by: ylavic
Reviewed by: ylavic, jorton, covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885140 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1883729 from trunk:
Yann Ylavic [Tue, 5 Jan 2021 10:23:21 +0000 (10:23 +0000)] 
Merge r1883729 from trunk:

core: fix c->client_ip for unix socket connections.

Catch apr_socket_addr_get() error in core_create_conn() to avoid uninitialized
conn_rec->client_ip. This can happen for mod_proxy connections using unix
sockets, which are not handled by apr_socket_addr_get() until APR's r1883728
(trunk only for now).

Submitted by: ylavic
Reviewed by: ylavic, jorton, covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885139 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1883704, r1883707 from trunk:
Yann Ylavic [Tue, 5 Jan 2021 10:20:45 +0000 (10:20 +0000)] 
Merge r1883704, r1883707 from trunk:

mod_proxy_http2: thread safety with MPM prefork, still..

The allocator of pchild has no mutex with MPM prefork, but we need one
for h2 workers threads synchronization.

Even though mod_http2 shouldn't be used with prefork, better be safe than
sorry, so forcibly set the mutex in h2_child_init() if it doesn't exist.

This prevents the below situation:

AddressSanitizer: heap-use-after-free on address 0x6250003ea938 at pc 0x7fe229f40f3c bp 0x7fe22146dd30 sp 0x7fe22146dd28

WRITE of size 8 at 0x6250003ea938 thread T4
    #0 0x7fe229f40f3b in apr_pool_destroy memory/unix/apr_pools.c:1015
                         `-> if ((*pool->ref = pool->sibling) != NULL)
    #1 0x7fe229f6ef1a in apr_thread_exit threadproc/unix/thread.c:206
    #2 0x7fe223a26671 in slot_run /home/yle/src/apache/httpd/trunk.ro/modules/http2/h2_workers.c:248
    #3 0x7fe229f6ebcc in dummy_worker threadproc/unix/thread.c:142
    #4 0x7fe229ecbea6 in start_thread nptl/pthread_create.c:477
    #5 0x7fe229df9d4e in __clone (/lib/x86_64-linux-gnu/libc.so.6+0xfdd4e)

0x6250003ea938 is located 56 bytes inside of 8192-byte region [0x6250003ea900,0x6250003ec900)
freed by thread T6 here:
    #0 0x7fe22a1ecb6f in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.6+0xa9b6f)
    #1 0x7fe229f3fe38 in allocator_free memory/unix/apr_pools.c:507
    #2 0x7fe229f4107b in apr_pool_destroy memory/unix/apr_pools.c:1043
    #3 0x7fe229f6ef1a in apr_thread_exit threadproc/unix/thread.c:206
    #4 0x7fe223a26671 in slot_run /home/yle/src/apache/httpd/trunk.ro/modules/http2/h2_workers.c:248
    #5 0x7fe229f6ebcc in dummy_worker threadproc/unix/thread.c:142
    #6 0x7fe229ecbea6 in start_thread nptl/pthread_create.c:477

mod_proxy_http2: follow up to r1883704.

For event/worker MPMs, pchild uses pconf's allocator, so its is NULL.

Submitted by: ylavic
Reviewed by: ylavic, jorton, covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885138 13f79535-47bb-0310-9956-ffa450edef68

4 years agovote/promote.
Eric Covener [Mon, 4 Jan 2021 14:37:58 +0000 (14:37 +0000)] 
vote/promote.

proxy series review is cursory but nowhere to go but forward

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885103 13f79535-47bb-0310-9956-ffa450edef68

4 years agoFix a typo in a comment.
Christophe Jaillet [Sun, 3 Jan 2021 12:44:16 +0000 (12:44 +0000)] 
Fix a typo in a comment.

(r1326229 on trunk)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885062 13f79535-47bb-0310-9956-ffa450edef68

4 years agoUse Require instead of Allow and Deny.
Christophe Jaillet [Sun, 3 Jan 2021 09:10:04 +0000 (09:10 +0000)] 
Use Require instead of Allow and Deny.

While at it, removes the "based on the value of" because, it is not really based on the value of the environment variable, but on its existence or not.

PR 65048

(r1885046 on trunk)

While at it, remove some trailing spaces and add some "" to improve syntax color highlighting.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1885047 13f79535-47bb-0310-9956-ffa450edef68

4 years agoPropose*1. [skip ci]
Joe Orton [Wed, 16 Dec 2020 16:15:42 +0000 (16:15 +0000)] 
Propose*1. [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884503 13f79535-47bb-0310-9956-ffa450edef68

4 years agoPropose a series of core / mod_proxy changes to address (long) pending issues.
Yann Ylavic [Wed, 16 Dec 2020 10:28:05 +0000 (10:28 +0000)] 
Propose a series of core / mod_proxy changes to address (long) pending issues.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884495 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge CHANGES entries [skip ci].
Yann Ylavic [Wed, 16 Dec 2020 10:15:06 +0000 (10:15 +0000)] 
Merge CHANGES entries [skip ci].

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884493 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBackported*1, [skip ci]
Joe Orton [Tue, 15 Dec 2020 09:22:15 +0000 (09:22 +0000)] 
Backported*1, [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884451 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1883947 from trunk:
Joe Orton [Tue, 15 Dec 2020 09:21:08 +0000 (09:21 +0000)] 
Merge r1883947 from trunk:

* modules/metadata/mod_unique_id.c: Use base64url encoding for
  uuencoder table.

PR: 57044
Submitted by: Michael Kaufmann <apache-bugzilla michael-kaufmann.ch>
Reviewed by: jorton, ylavic, covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884450 13f79535-47bb-0310-9956-ffa450edef68

4 years agoVote*N, [skip ci]
Joe Orton [Tue, 15 Dec 2020 09:19:26 +0000 (09:19 +0000)] 
Vote*N, [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884449 13f79535-47bb-0310-9956-ffa450edef68

4 years agoTypo [skip ci].
Yann Ylavic [Mon, 14 Dec 2020 09:33:10 +0000 (09:33 +0000)] 
Typo [skip ci].

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884409 13f79535-47bb-0310-9956-ffa450edef68

4 years agoPropose fixes for APR_POOL_DEBUG correctness.
Yann Ylavic [Mon, 14 Dec 2020 09:30:44 +0000 (09:30 +0000)] 
Propose fixes for APR_POOL_DEBUG correctness.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884408 13f79535-47bb-0310-9956-ffa450edef68

4 years agoci: Re-enable ASan pool-debug.
Yann Ylavic [Sun, 13 Dec 2020 15:50:56 +0000 (15:50 +0000)] 
ci: Re-enable ASan pool-debug.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884383 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1883709 from trunk:
Yann Ylavic [Sun, 13 Dec 2020 10:17:55 +0000 (10:17 +0000)] 
Merge r1883709 from trunk:

mod_example_hooks: fix global "trace" string lifetime.

[Assuming experiment/CTR here, fixes an ASan crash prevent ci]
Reviewed/backported by: ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884378 13f79535-47bb-0310-9956-ffa450edef68

4 years agoci: disable ASan pool-debug for now.
Yann Ylavic [Sat, 12 Dec 2020 02:10:49 +0000 (02:10 +0000)] 
ci: disable ASan pool-debug for now.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884339 13f79535-47bb-0310-9956-ffa450edef68

4 years agoPromote.
Yann Ylavic [Fri, 11 Dec 2020 15:10:40 +0000 (15:10 +0000)] 
Promote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884325 13f79535-47bb-0310-9956-ffa450edef68

4 years agoyml syntax after r1884321.
Yann Ylavic [Fri, 11 Dec 2020 15:04:12 +0000 (15:04 +0000)] 
yml syntax after r1884321.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884323 13f79535-47bb-0310-9956-ffa450edef68

4 years agoci: ASan and prefork w/ mod_http2 should be good for 2.4.x now.
Yann Ylavic [Fri, 11 Dec 2020 15:00:24 +0000 (15:00 +0000)] 
ci: ASan and prefork w/ mod_http2 should be good for 2.4.x now.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884321 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1876626 from trunk:
Yann Ylavic [Fri, 11 Dec 2020 14:55:20 +0000 (14:55 +0000)] 
Merge r1876626 from trunk:

* server/mpm/prefork/prefork.c (prefork_pre_config): Use pconf as
  passed to the hook with ap_fatal_signal_child_setup, since
  prefork.c's pconf "global" is not set until the (later) open_logs
  hook, and if built as a DSO it may be reset inbetween.

* server/mpm/motorz/motorz.c (motorz_pre_config): Likewise.

[event and worker do not appear to have the same issue]

Submitted by: jorton
Reviewed by: https://lists.apache.org/thread.html/rc43315d87ac9bb92a6e0e4068d7680e7044df0a1640d514fd40f19fd%40%3Cdev.httpd.apache.org%3E

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884320 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBackported. [skip ci]
Yann Ylavic [Fri, 11 Dec 2020 14:49:46 +0000 (14:49 +0000)] 
Backported. [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884319 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1884169, r1884170 from trunk:
Yann Ylavic [Fri, 11 Dec 2020 14:49:12 +0000 (14:49 +0000)] 
Merge r1884169, r1884170 from trunk:

mod_http2: Rename server_pool as pchild in h2_workers_create()

To clarify which parent pool the workers threads have.
And add a comment about workers_pool_cleanup()'s role and when it runs.

No functional change.

mod_http2: stop/wait the workers threads before their pool is killed.

There shouldn't be any worker thread active when pchild is destroyed (thus each
thread's pool), so register workers_pool_cleanup as a pre_cleanup of pchild.

This is to avoid races like the below stacktrace, where slot_run() threads
are still running when clean_child_exit() is called.

Thread 23 (Thread 0x7f4865b79800 (LWP 3740)):
#0  0x00007f4864dec449 in pthread_cond_destroy@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f4865020117 in run_cleanups (cref=<optimized out>) at memory/unix/apr_pools.c:2629
#2  pool_clear_debug (pool=pool@entry=0x558a5297e4a0, file_line=0x558a5237456b "event.c:757") at memory/unix/apr_pools.c:1830
#3  0x00007f486501ffee in pool_destroy_debug (pool=0x558a5297e4a0, file_line=<optimized out>) at memory/unix/apr_pools.c:1915
#4  0x00007f48650200f0 in pool_clear_debug (pool=pool@entry=0x558a52a41070, file_line=0x558a5237456b "event.c:757") at memory/unix/apr_pools.c:1827
#5  0x00007f486501ffee in pool_destroy_debug (pool=0x558a52a41070, file_line=<optimized out>) at memory/unix/apr_pools.c:1915
#6  0x00007f486502085c in apr_pool_destroy_debug (pool=<optimized out>, file_line=<optimized out>) at memory/unix/apr_pools.c:1957
#7  0x0000558a52326cfc in clean_child_exit (code=0) at event.c:757
#8  0x0000558a52327969 in child_main (child_num_arg=child_num_arg@entry=1, child_bucket=child_bucket@entry=0) at event.c:2926
#9  0x0000558a52327ce5 in make_child (s=0x558a52c9f840, slot=slot@entry=1, bucket=0) at event.c:2992
#10 0x0000558a52327d4c in startup_children (number_to_start=2, number_to_start@entry=3) at event.c:3015
#11 0x0000558a523289ac in event_run (_pconf=<optimized out>, plog=0x558a5273ce00, s=0x558a52c9f840) at event.c:3374
#12 0x0000558a5233e91e in ap_run_mpm (pconf=0x558a5270cbe0, plog=0x558a5273ce00, s=0x558a52c9f840) at mpm_common.c:100
#13 0x0000558a5231b763 in main (argc=<optimized out>, argv=<optimized out>) at main.c:844

Thread 2 (Thread 0x7f4840b70700 (LWP 3836)):
#0  0x00007f4864dec9f3 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f486501f65d in apr_thread_cond_wait (cond=<optimized out>, mutex=<optimized out>) at locks/unix/thread_cond.c:68
#2  0x00007f484e14ae4a in get_next (slot=0x558a528d5fe0) at h2_workers.c:209
#3  slot_run (thread=0x558a52828b30, wctx=0x558a528d5fe0) at h2_workers.c:228
#4  0x00007f4864de66db in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f4864b0f88f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f4841b72700 (LWP 3834)):
#0  0x00007f4864a2ce97 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f4864a2e801 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f4865020865 in apr_pool_destroy_debug (pool=<optimized out>, file_line=<optimized out>) at memory/unix/apr_pools.c:1955
#3  0x00007f486502b536 in apr_thread_exit (thd=thd@entry=0x558a52ba8980, retval=retval@entry=0) at threadproc/unix/thread.c:206
#4  0x00007f484e14aec6 in slot_run (thread=0x558a52ba8980, wctx=0x558a528d6060) at h2_workers.c:248
#5  0x00007f4864de66db in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f4864b0f88f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Submitted by: ylavic
Reviewed by: ylavic, jorton, covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884318 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBackported. [skip ci]
Yann Ylavic [Fri, 11 Dec 2020 14:46:46 +0000 (14:46 +0000)] 
Backported. [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884317 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1883708, r1884208 from trunk:
Yann Ylavic [Fri, 11 Dec 2020 14:46:12 +0000 (14:46 +0000)] 
Merge r1883708, r1884208 from trunk:

core: reset ap_runtime_dir to NULL after AP_SQ_MS_DESTROY_CONFIG.

ap_runtime_dir_relative() might reuse ap_runtime_dir from previously cleared
pconf otherwise.

Rearrange and clear global core config state allocated out of pconf
from a single cleanup:

* server/core.c (reset_config): Clear ap_runtime_dir here, rather than
  in register_hooks.

Submitted by: ylavic, jorton
Reviewed by: ylavic, jorton, covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884316 13f79535-47bb-0310-9956-ffa450edef68

4 years agopromote [skip ci]
Eric Covener [Fri, 11 Dec 2020 14:21:51 +0000 (14:21 +0000)] 
promote [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884314 13f79535-47bb-0310-9956-ffa450edef68

4 years agovote [skip ci]
Eric Covener [Fri, 11 Dec 2020 14:21:23 +0000 (14:21 +0000)] 
vote [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884313 13f79535-47bb-0310-9956-ffa450edef68

4 years agoVote, [skip ci], happy friday.
Joe Orton [Fri, 11 Dec 2020 14:20:08 +0000 (14:20 +0000)] 
Vote, [skip ci], happy friday.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884312 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1879441, r1879448, r1879594, r1883854, r1884136, r1884292 from trunk:
Yann Ylavic [Fri, 11 Dec 2020 13:15:00 +0000 (13:15 +0000)] 
Merge r1879441, r1879448, r1879594, r1883854, r1884136, r1884292 from trunk:

Add additional test suite runs for the prefork & event pool-debug builds:
- run with SSLSessionCache defined (after r1879430)
- run with "SSLProtocol TLSv1.2"

Adjust for r1879447 to specify shmcb is tested when
TEST_SSL_SESSCACHE is defined. [skip ci]

For TEST_SSL=1 runs, test SSLSessionCache with shmcb, memcached
and redis socache providers.  Force TLSv1.2 for these runs since
TLSv1.3 doesn't use the cache.

Stop testing if a core dump was generated during the main test suite run.

Add ASan (AddressSanitizer) build and tests to ci.

ci: add a run for MPM worker w/ pool-debug.

Submitted by: jorton, ylavic, ylavic

Index: .travis.yml
===================================================================
--- .travis.yml (revision 1884310)
+++ .travis.yml (working copy)
@@ -250,6 +250,13 @@ jobs:
            TEST_MALLOC=1 TEST_SSL=1
            CLEAR_CACHE=1
     # -------------------------------------------------------------------------
+    - name: Linux Ubuntu, Shared MPMs (worker), pool-debug, SSL/TLS variants
+      env: APR_VERSION=1.7.x APR_CONFIG="--enable-pool-debug"
+           APU_VERSION=1.7.x APU_CONFIG="--with-crypto --with-ldap"
+           CONFIG="--enable-mods-shared=reallyall --enable-mpms-shared=all --with-mpm=worker"
+           TEST_MALLOC=1 TEST_SSL=1
+           CLEAR_CACHE=1
+    # -------------------------------------------------------------------------
     - name: Linux Ubuntu, Shared MPMs (prefork), pool-debug, SSL/TLS variants
       env: APR_VERSION=1.7.x APR_CONFIG="--enable-pool-debug"
            APU_VERSION=1.7.x APU_CONFIG="--with-crypto --with-ldap"
Index: test/travis_before_linux.sh
===================================================================
--- test/travis_before_linux.sh (revision 1884310)
+++ test/travis_before_linux.sh (working copy)
@@ -104,6 +104,13 @@ if test -v TEST_LDAP -a -x test/perl-framework/scr
     popd
 fi

+if test -v TEST_SSL; then
+    pushd test/perl-framework
+       ./scripts/memcached-init.sh
+       ./scripts/redis-init.sh
+    popd
+fi
+
 if test -v APR_VERSION; then
     install_apx apr ${APR_VERSION} "${APR_CONFIG}"
     APU_CONFIG="$APU_CONFIG --with-apr=$HOME/root/apr-${APR_VERSION}"
Index: test/travis_run_linux.sh
===================================================================
--- test/travis_run_linux.sh (revision 1884310)
+++ test/travis_run_linux.sh (working copy)
@@ -77,6 +77,10 @@ if ! test -v SKIP_TESTING; then
         export UBSAN_OPTIONS="log_path=$PWD/ubsan.log"
     fi

+    if test -v TEST_ASAN; then
+        export ASAN_OPTIONS="log_path=$PWD/asan.log"
+    fi
+
     if test -v WITH_TEST_SUITE; then
         make check TESTS="${TESTS}" TEST_CONFIG="${TEST_ARGS}"
         RV=$?
@@ -88,8 +92,25 @@ if ! test -v SKIP_TESTING; then
             RV=$?
         popd
     fi
-    if test -v LITMUS; then
+
+    # Skip further testing if a core dump was created during the test
+    # suite run above.
+    if test $RV -eq 0 -a -f test/perl-framework/t/core; then
+        RV=4
+    fi
+
+    if test -v TEST_SSL -a $RV -eq 0; then
         pushd test/perl-framework
+            for cache in shmcb redis:localhost:6379 memcache:localhost:11211; do
+                SSL_SESSCACHE=$cache ./t/TEST -sslproto TLSv1.2 -defines TEST_SSL_SESSCACHE t/ssl
+                RV=$?
+                test $RV -eq 0 || break
+            done
+        popd
+    fi
+
+    if test -v LITMUS -a $RV -eq 0; then
+        pushd test/perl-framework
            mkdir -p t/htdocs/modules/dav
            ./t/TEST -start
            # litmus uses $TESTS, so unset it.
@@ -123,9 +144,18 @@ if ! test -v SKIP_TESTING; then
         RV=3
     fi

+    if test -v TEST_ASAN && ls asan.log.* &> /dev/null; then
+        cat asan.log.*
+
+        # ASan can report memory leaks, fail on errors only
+        if grep -q "ERROR: AddressSanitizer:" `ls asan.log.*`; then
+            RV=4
+        fi
+    fi
+
     if test -f test/perl-framework/t/core; then
         gdb -ex 'thread apply all backtrace' -batch ./httpd test/perl-framework/t/core
-        RV=4
+        RV=5
     fi

     exit $RV
Index: .
===================================================================
--- . (revision 1884310)
+++ . (working copy)

Property changes on: .
___________________________________________________________________
Modified: svn:mergeinfo
## -0,0 +0,1 ##
   Merged /httpd/httpd/trunk:r1879441,1879448,1879594,1883854,1884136,1884292

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884311 13f79535-47bb-0310-9956-ffa450edef68

4 years ago* Trigger CI
Ruediger Pluem [Fri, 11 Dec 2020 07:53:35 +0000 (07:53 +0000)] 
* Trigger CI

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884301 13f79535-47bb-0310-9956-ffa450edef68

4 years agoPropose [skip ci].
Yann Ylavic [Fri, 11 Dec 2020 00:58:10 +0000 (00:58 +0000)] 
Propose [skip ci].

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884294 13f79535-47bb-0310-9956-ffa450edef68

4 years agoMerge r1883776, r1883781, r1883813, r1884138, r1884182 from trunk:
Yann Ylavic [Fri, 11 Dec 2020 00:24:33 +0000 (00:24 +0000)] 
Merge r1883776, r1883781, r1883813, r1884138, r1884182 from trunk:

For pool-debug builds, use APR/APR-util 1.7.x branches to pick
up e.g. the r1883751 locking fixes.

Re-enable mod_http2 and mod_ssl_ct in prefork pool-debug build
after r1883704 and r1883667.

[prefork+pool-debug still w/o http2 until r1884170 is backported]

Adjust name for pool-debug build.

Run the LDAP testing without pool-debug for the time being.

Cosmetics (and one more ci pass, just in case).

ci: have an ASan run w/o pool-debug too.

[ASan disabled on 2.4.x for now until r1883708+r1884208 are backported]

Submitted by: jorton, ylavic, ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884291 13f79535-47bb-0310-9956-ffa450edef68

4 years agoPropose.
Yann Ylavic [Thu, 10 Dec 2020 16:54:32 +0000 (16:54 +0000)] 
Propose.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884287 13f79535-47bb-0310-9956-ffa450edef68

4 years agoVote, propose [skip ci]
Yann Ylavic [Tue, 8 Dec 2020 23:16:56 +0000 (23:16 +0000)] 
Vote, propose [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1884222 13f79535-47bb-0310-9956-ffa450edef68

4 years agoNominate. [skip ci]
Joe Orton [Mon, 30 Nov 2020 09:37:28 +0000 (09:37 +0000)] 
Nominate. [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1883948 13f79535-47bb-0310-9956-ffa450edef68

4 years agofr doc rebuild.
Lucien Gentis [Sat, 21 Nov 2020 13:38:00 +0000 (13:38 +0000)] 
fr doc rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1883698 13f79535-47bb-0310-9956-ffa450edef68