1
0
mirror of https://github.com/apache/httpd.git synced 2025-04-18 22:24:07 +03:00

34126 Commits

Author SHA1 Message Date
Ruediger Pluem
e36237899d * Temporarily add back the query string to the URL as it might contain the
routing information for sticky sessions.

PR: 69443


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1925109 13f79535-47bb-0310-9956-ffa450edef68
2025-04-16 11:29:25 +00:00
Joe Orton
65d5f9ee6c CI: Use the git commit hash to determine the revision of APR/APR-util
from the github repos, and build exactly that, rather than relying on SVN:
 - works if apr/apr-util moves to a r/w git in the future
 - removes a race for branches where the git revision tested
 could be different to the SVN revision retrieved before

Github: closes #528


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924958 13f79535-47bb-0310-9956-ffa450edef68
2025-04-09 10:17:24 +00:00
Joe Orton
e6cfbfa30d mod_ssl: Check the SSLProtocol directive when loading the configuration
Previously, the SSLProtocol directive was checked at runtime. Apache quit if
the directive contained an invalid combination of protocols, and logged the
message "AH02231: No SSL protocols available [hint: SSLProtocol]".

With this change, most invalid SSLProtocol directives are detected when
checking the configuration, e.g. with \"httpd -t -f httpd.conf\".

Examples of invalid protocol combinations that are caught:
* SSLProtocol "-TLSv1"
* SSLProtocol "-all"
* SSLProtocol "TLSv1.2 -TLSv1.2"

Submitted by: Michael Kaufmann <mail michael-kaufmann.ch>
Github: closes #523


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924955 13f79535-47bb-0310-9956-ffa450edef68
2025-04-09 08:01:24 +00:00
Joe Orton
b3a52bec98 mod_asis: Fix the log level of the message AH01236
Change the log level from ERROR to DEBUG.

The message \"mod_asis: ap_pass_brigade failed for file ...\" was logged with
the level ERROR. This log level is inappropriate here, because a client can
trigger this log message by aborting the request.

Most other modules don't log at all or use the log level DEBUG when
ap_pass_brigade() fails.

Submitted by: Michael Kaufmann <mail michael-kaufmann.ch>
Github: closes #527


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924954 13f79535-47bb-0310-9956-ffa450edef68
2025-04-09 07:43:49 +00:00
Joe Orton
e9231ff8cc CI: Update to test against OpenSSL 3.4 and 3.5.0-beta1
Github: closes #525


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924911 13f79535-47bb-0310-9956-ffa450edef68
2025-04-07 14:25:59 +00:00
Lucien Gentis
d7cec16f60 fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924811 13f79535-47bb-0310-9956-ffa450edef68
2025-04-05 13:39:02 +00:00
Lucien Gentis
75c3a1967c fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924810 13f79535-47bb-0310-9956-ffa450edef68
2025-04-05 13:37:52 +00:00
Joe Orton
2738357b81 Update to use rfc-editor.org URLs throughout.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924775 13f79535-47bb-0310-9956-ffa450edef68
2025-04-04 16:18:31 +00:00
Joe Orton
0427048348 Update mod_ssl docs to reference current & working openssl.org
URIs throughout.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924774 13f79535-47bb-0310-9956-ffa450edef68
2025-04-04 16:08:18 +00:00
Graham Leggett
5a148b5b9d mod_ssl: Remove warning over potential uninitialised value
for ssl protocol prior to protocol selection.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924757 13f79535-47bb-0310-9956-ffa450edef68
2025-04-03 14:36:16 +00:00
Stefan Eissing
303ca68847 * mod_proxy_http2: revert r1912193 for detecting broken backend connections
as this interferes with backend selection who a node is unresponsive.
    PR69624.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924554 13f79535-47bb-0310-9956-ffa450edef68
2025-03-24 12:48:09 +00:00
Joe Orton
ffeacdcc52 Fix typo in code comments; dependancies -> dependencies
Submitted by: John Bampton <jbampton gmail.com>
Github: closes #520


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924446 13f79535-47bb-0310-9956-ffa450edef68
2025-03-18 09:54:15 +00:00
Stefan Eissing
f3448d02da *) mod_http2: Fix handling of 304 responses from mod_cache. PR 69580.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924267 13f79535-47bb-0310-9956-ffa450edef68
2025-03-10 10:09:43 +00:00
Lucien Gentis
8d71cf3c9e fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924230 13f79535-47bb-0310-9956-ffa450edef68
2025-03-08 13:00:24 +00:00
Lucien Gentis
6549092414 fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924229 13f79535-47bb-0310-9956-ffa450edef68
2025-03-08 12:59:25 +00:00
Stefan Eissing
fecd8da88a assign log tag
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924197 13f79535-47bb-0310-9956-ffa450edef68
2025-03-06 08:35:52 +00:00
Stefan Eissing
fcb18d8f0f steal a number
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924196 13f79535-47bb-0310-9956-ffa450edef68
2025-03-06 08:35:37 +00:00
Stefan Eissing
b1a1473add fix module name in change entry
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924164 13f79535-47bb-0310-9956-ffa450edef68
2025-03-04 09:09:37 +00:00
Stefan Eissing
e1fe1d8505 *) mod_md: update to version 2.0.30
- Fixed bug in handling over long response headers. When the 64 KB limit
       of nghttp2 was exceeded, the request was not reset and the client was
       left hanging, waiting for it. Now the stream is reset.
     - Added new directive `H2MaxHeaderBlockLen` to set the limit on response
       header sizes.
     - Fixed handling of Timeout vs. KeepAliveTimeout when first request on a
       connection was reset.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924145 13f79535-47bb-0310-9956-ffa450edef68
2025-03-03 12:32:31 +00:00
Joe Orton
826f90e639 mod_lua: Fix memory handling in output filters.
* modules/lua/mod_lua.c (lua_output_filter_handle): Fix brigade
  iteration to use constant memory.

Submitted by: G.Grandes <guillermo.grandes gmail.com>
PR: 69590
Github: closes #517


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924095 13f79535-47bb-0310-9956-ffa450edef68
2025-02-28 08:24:10 +00:00
Lucien Gentis
b0dce544dd fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923981 13f79535-47bb-0310-9956-ffa450edef68
2025-02-22 12:14:04 +00:00
Lucien Gentis
fe821fd8c0 fr doc XML files update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923980 13f79535-47bb-0310-9956-ffa450edef68
2025-02-22 12:13:00 +00:00
Joe Orton
b9042002ca docs: Note that sendfile() is not used for SSL/TLS or with
some output filters regardless of the EnableSendfile setting.

PR: 69414


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923917 13f79535-47bb-0310-9956-ffa450edef68
2025-02-18 17:18:48 +00:00
Joe Orton
1e298ddfca mod_dav: Fix error handling for dav_fs_dir_file_name():
dav_fs_dir_file_name() will not set *fname_p to NULL on failure,
and all callers of dav_fs_dir_file_name() does not check the
return value of dav_fs_dir_file_name(), which could lead to an
undefined behavior against fname_p.

Fix this by adding return value check of dav_fs_dir_file_name()

Submitted by: Zhou Qingyang <zhou1615 umn.edu>
Github: closes #309


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923813 13f79535-47bb-0310-9956-ffa450edef68
2025-02-14 16:08:23 +00:00
Joe Orton
c36a521155 Add git commands for apr checkout to INSTALL
Submitted by: Vladimír Chlup <vchlup redhat.com>
Github: closes #437


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923812 13f79535-47bb-0310-9956-ffa450edef68
2025-02-14 16:03:33 +00:00
Joe Orton
69c4c6b651 Fix variable declaration warning in scoreboard.c
Submitted by: Vladimír Chlup <vchlup redhat.com>
Github: closes #516


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923806 13f79535-47bb-0310-9956-ffa450edef68
2025-02-14 09:23:28 +00:00
Stefan Eissing
e3d014c009 *) scoreboard/mod_http2: record durations of HTTP/2 requests.
PR 69579 [Pierre Brochard <pierre.brochard.1982@m4x.org>]



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923754 13f79535-47bb-0310-9956-ffa450edef68
2025-02-12 09:43:40 +00:00
Ruediger Pluem
3af0d142f1 * Allow to unset cookies via negative lifetime values
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923725 13f79535-47bb-0310-9956-ffa450edef68
2025-02-11 10:29:03 +00:00
Lucien Gentis
eb450d3122 fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923670 13f79535-47bb-0310-9956-ffa450edef68
2025-02-08 16:25:08 +00:00
Lucien Gentis
df5af2401b fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923669 13f79535-47bb-0310-9956-ffa450edef68
2025-02-08 16:22:30 +00:00
Joe Orton
1db5c2359a Add API exposing the DavBasePath setting for use by DAV repository
backend modules (mod_dav_svn needs this for POST method handling).

* modules/dav/main/mod_dav.c (dav_get_base_path): New function.

* include/ap_mmn.h: Bump MMN minor.

Github: closes #513


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923639 13f79535-47bb-0310-9956-ffa450edef68
2025-02-07 11:09:25 +00:00
Stefan Eissing
e07b7a2abd *) mod_md: update to v2.5.1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923592 13f79535-47bb-0310-9956-ffa450edef68
2025-02-05 12:30:07 +00:00
Joe Orton
0ba38c2527 CI: Try to cope with CentOS Stream containers being out-of-sync with
the yum repos when building the slapd container. [skip ci]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923479 13f79535-47bb-0310-9956-ffa450edef68
2025-01-31 14:28:57 +00:00
Joe Orton
a4194a3988 CI: Retry arm64 workflow with the correct label this time.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923302 13f79535-47bb-0310-9956-ffa450edef68
2025-01-21 09:26:02 +00:00
Joe Orton
8138d8ae7c Disable the arm64 job, it appears there are not enough runners. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923300 13f79535-47bb-0310-9956-ffa450edef68
2025-01-21 08:33:57 +00:00
Joe Orton
1cc6aeb6ce CI: Add 64-bit ARM job to Linux workflow. See:
https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/

Github: closes #511


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923271 13f79535-47bb-0310-9956-ffa450edef68
2025-01-20 17:01:17 +00:00
Christophe Jaillet
3431795597 Add a Changes entry related to r1917017
While at it, fix a small style issue (tab vs spaces)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923218 13f79535-47bb-0310-9956-ffa450edef68
2025-01-19 10:59:10 +00:00
Stefan Eissing
49c2ee218f *) mod_http2: make test_h2_200_17+18 work reliably with
older and newer curl versions. Only a change in logging,
    no function module change.
    Newer curl send a GOAWAY on connection shutdown which
    triggers another code path that the test did not expect.
    Thanks to Rainer Jung for tracking this down.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923187 13f79535-47bb-0310-9956-ffa450edef68
2025-01-17 16:12:28 +00:00
Stefan Eissing
202d0068d8 *) mod_md: update to version 2.4.31
- Improved error reporting when waiting for ACME server to verify domains
       or finalizing the order fails, e.g. times out.
     - Increasing the timeouts to wait for ACME server to verify domain names
       and issue the certificate from 30 seconds to 5 minutes.
     - Change a log level from error to debug when Stapling is enabled but a
       certificate carries no OCSP responder URL.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923148 13f79535-47bb-0310-9956-ffa450edef68
2025-01-15 12:48:52 +00:00
Joe Orton
47d179ae06 Fix typo in charset.conv
\"Croation\" is a misspelling. It should be \"Croatian\".

Submitted by: Michael Hospedales <hospedales me.com>
Github: closes #508


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923133 13f79535-47bb-0310-9956-ffa450edef68
2025-01-14 15:54:20 +00:00
Ruediger Pluem
6433e92520 * Do not add a space before '|' when setting the value for stickysession in the
balancer manager as this breaks the stickysession configuration once a new
  configuration is submitted by the balancer manager.

PR: 69510
Submitted by: Yutaka Tokunou <tokunou.yutaka@fujitsu.com>
Reviewed by: rpluem


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923101 13f79535-47bb-0310-9956-ffa450edef68
2025-01-13 13:37:40 +00:00
Lucien Gentis
bd3d0810bb fr doc rebuild with new year.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923073 13f79535-47bb-0310-9956-ffa450edef68
2025-01-11 14:58:30 +00:00
Lucien Gentis
b373b91926 fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923072 13f79535-47bb-0310-9956-ffa450edef68
2025-01-11 14:49:55 +00:00
Christophe Jaillet
bc126eeb96 Use <highlight language="config"> instead of <example> in order to have syntax highlight work correctly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923003 13f79535-47bb-0310-9956-ffa450edef68
2025-01-08 21:13:45 +00:00
Joe Orton
b5d2f5e34e * modules/generators/mod_autoindex.c (dsortf): Ensure the function
is transitive to avoid undefined behaviour, per:
  https://www.qualys.com/2024/01/30/qsort.txt

Submitted by: Kuan-Wei Chiu <visitorckw gmail.com>
Github: closes #500


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1922994 13f79535-47bb-0310-9956-ffa450edef68
2025-01-08 18:00:29 +00:00
Eric Covener
75facde270 mod_session_dbd: set_cookie_name: ensure correct format
If args is an empty string, apr_strtok will return NULL and *last will never get set which results in a SIGSEGV in apr_isspace check

Submitted by: Thomas Meyer <thomas@m3y3r.de>

Github: closes #503


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1922931 13f79535-47bb-0310-9956-ffa450edef68
2025-01-06 19:28:35 +00:00
Eric Covener
7b36fce797 fix value inconsistency in LimitXMLRequestBody example
value of 1 MiB = 1048576

Submitted by: Chenjp <ch_jp@msn.com>

Github: closes #506


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1922928 13f79535-47bb-0310-9956-ffa450edef68
2025-01-06 19:15:29 +00:00
Rainer Jung
aee4aafa1a Happy New Year 2025
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1922818 13f79535-47bb-0310-9956-ffa450edef68
2025-01-01 11:12:22 +00:00
Stefan Eissing
4a9cd1fccf *) mod_md: change log level from error to debug when MDStapling
is enabled but a certificate carries no OCSP url.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1922429 13f79535-47bb-0310-9956-ffa450edef68
2024-12-11 12:43:34 +00:00
Joe Orton
71a7109925 CI: Switch down to GCC 12, the ubuntu-latest image is not consistently
an Ubuntu 24.04 environment yet, this version should be available in
both the -22.04 and -24.04 images.

Github: closes #497


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1922412 13f79535-47bb-0310-9956-ffa450edef68
2024-12-10 17:20:36 +00:00