669e511654
* Add a 'be' [skip ci]
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908150 13f79535-47bb-0310-9956-ffa450edef68
2023-03-07 07:34:08 +00:00
e653b97abc
Use ap_parse_strict_length() to parse client-supplied Content-Length
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908144 13f79535-47bb-0310-9956-ffa450edef68
2023-03-07 01:51:02 +00:00
1f89cbb0d5
Remove usuless double check of APR_FINFO_NAME neing set
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908143 13f79535-47bb-0310-9956-ffa450edef68
2023-03-07 01:28:59 +00:00
3067b17275
Add SSL_SHARED_CIPHER environment variable
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908132 13f79535-47bb-0310-9956-ffa450edef68
2023-03-06 17:46:04 +00:00
1061b64bb7
* modules/http2/mod_proxy_http2.c: Fix missing APLOGNO.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908116 13f79535-47bb-0310-9956-ffa450edef68
2023-03-06 09:24:44 +00:00
9282a06e55
avoid delimiting the query with a backreference
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908097 13f79535-47bb-0310-9956-ffa450edef68
2023-03-05 20:31:40 +00:00
d78a166fed
don't forward invalid query strings
...
Submitted by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908095 13f79535-47bb-0310-9956-ffa450edef68
2023-03-05 20:27:11 +00:00
a47ee08073
*) mod_md:
...
- Enabling ED25519 support and certificate transparency information when
building with libressl v3.5.0 and newer. Thanks to Giovanni Bechis.
- MDChallengeDns01 can now be configured for individual domains.
Thanks to Jérôme Billiras (@bilhackmac) for the initial PR.
- Fixed a bug found by Jérôme Billiras (@bilhackmac) that caused the challenge
teardown not being invoked as it should.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908080 13f79535-47bb-0310-9956-ffa450edef68
2023-03-05 09:59:34 +00:00
d3607972c8
*) mod_htt2: recent small improvements from the github/icing/mod_h2
...
- conditional use of ap_thread* to allow compilation on older versions
- fixed checks on CONNECT requests
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908079 13f79535-47bb-0310-9956-ffa450edef68
2023-03-05 09:42:53 +00:00
d73a6e1490
Test case updates related to macOS ventura changes:
...
- python 3.11 deprecates the `cg` module, replacing
url query and multipart form-data handling with new code
- adaptions to changes in openssl/curl behaviours
- all mod_tls test cases now have prefix `test_tls_` for
easier scoping.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908060 13f79535-47bb-0310-9956-ffa450edef68
2023-03-04 13:40:38 +00:00
d7ac6428db
s/to to/to/
...
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907993 13f79535-47bb-0310-9956-ffa450edef68
2023-03-02 19:50:12 +00:00
dffd4ae216
Add RFC4331 quotas for mod_dav_fs
...
Fix warnings
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907989 13f79535-47bb-0310-9956-ffa450edef68
2023-03-02 16:09:50 +00:00
b75ba394e5
Add RFC4331 quotas for mod_dav_fs
...
Address forgotten svn add in previous commit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907984 13f79535-47bb-0310-9956-ffa450edef68
2023-03-02 15:46:12 +00:00
6c9b8075bc
Sync changes [skip ci]
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907983 13f79535-47bb-0310-9956-ffa450edef68
2023-03-02 15:24:08 +00:00
0df5879df8
mod_proxy_uwsgi: Stricter backend HTTP response parsing/validation
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907980 13f79535-47bb-0310-9956-ffa450edef68
2023-03-02 15:10:30 +00:00
be5fb2ef25
Follow up to r1907972: CHANGES entry.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907977 13f79535-47bb-0310-9956-ffa450edef68
2023-03-02 15:03:20 +00:00
0933475904
mod_proxy_uwsgi: Honor "proxy-nocanon" and "proxy-noencode".
...
Just like the other proxy modules.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907976 13f79535-47bb-0310-9956-ffa450edef68
2023-03-02 14:40:38 +00:00
9e8df92f5b
A server layout for NetBSD's pkgsrc default settings
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907975 13f79535-47bb-0310-9956-ffa450edef68
2023-03-02 14:37:20 +00:00
063e815a3c
Add RFC4331 quotas for mod_dav_fs
...
This is enabled by a new directive: DavQuota (Off|None|#bytes)
Off (default): feature disabled
None: no quota enforced, but used and available bytes are reported
#bytes: an numerical value in bytes as the quota to enforce
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907974 13f79535-47bb-0310-9956-ffa450edef68
2023-03-02 14:36:31 +00:00
8e229adef7
Fix NULL derefernece for anonymous users
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907973 13f79535-47bb-0310-9956-ffa450edef68
2023-03-02 14:31:20 +00:00
52930446f6
mod_proxy: Don't decode r->uri and reencode in r->filename for mapping=encoded.
...
Decoding was not done for mapping=servlet only (a subset), but overlooked for
mapping=encoded. To avoid double-encoding in the canon_handler hook, use a new
"proxy-noencode" (similarly to "proxy-nocanon") entry in r->notes.
* proxy/mod_proxy.c(ap_proxy_trans_match):
Set "proxy-noencode" in r->notes for PROXYPASS_MAP_ENCODED, and return DONE
to avoid decoding in ap_process_request_internal().
* proxy/mod_proxy_http.c, proxy/mod_proxy_ajp.c, proxy/mod_proxy_wstunnel.c,
proxy/mod_proxy_fcgi.c, proxy/mod_proxy_ajp.c, http2/mod_proxy_http2.c:
Don't process the url through ap_proxy_canonenc() in canon_handler if
"proxy-noencode" is set.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907972 13f79535-47bb-0310-9956-ffa450edef68
2023-03-02 14:30:20 +00:00
4e72887d7e
Also run CI for PRs against 2.4.x. [skip ci]
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907960 13f79535-47bb-0310-9956-ffa450edef68
2023-03-02 09:56:50 +00:00
a6566feac0
fr doc rebuild.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907869 13f79535-47bb-0310-9956-ffa450edef68
2023-02-25 13:55:44 +00:00
9e100b4544
fr doc XML files updates.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907868 13f79535-47bb-0310-9956-ffa450edef68
2023-02-25 13:54:29 +00:00
9605760cff
fixups vs. early in check_authn
...
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907762 13f79535-47bb-0310-9956-ffa450edef68
2023-02-19 18:59:44 +00:00
994d6cd45d
Re-order the fields of 'struct h2_session_props' to avoid a hole and some padding.
...
On x86_64, this shrinks the size of the struct from 40 to 32 bytes.
Before the patch, pahole states that:
struct h2_session_props {
int accepted_max; /* 0 4 */
int completed_max; /* 4 4 */
int emitted_count; /* 8 4 */
int emitted_max; /* 12 4 */
int error; /* 16 4 */
/* XXX 4 bytes hole, try to pack */
const char * error_msg; /* 24 8 */
unsigned int accepting:1; /* 32: 0 4 */
unsigned int shutdown:1; /* 32: 1 4 */
/* size: 40, cachelines: 1, members: 8 */
/* sum members: 28, holes: 1, sum holes: 4 */
/* sum bitfield members: 2 bits (0 bytes) */
/* padding: 4 */
/* bit_padding: 30 bits */
/* last cacheline: 40 bytes */
};
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907756 13f79535-47bb-0310-9956-ffa450edef68
2023-02-19 15:15:03 +00:00
8c3125324e
fr doc rebuild.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907738 13f79535-47bb-0310-9956-ffa450edef68
2023-02-18 14:22:35 +00:00
af065a92a1
fr doc XML file update.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907737 13f79535-47bb-0310-9956-ffa450edef68
2023-02-18 14:21:29 +00:00
53229e66c3
s/http/https/
...
These links are visible from the root of the github page. (https://github.com/apache/httpd )
So, https is better than plain http.
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907707 13f79535-47bb-0310-9956-ffa450edef68
2023-02-16 19:20:46 +00:00
ff6b8026ac
*) mod_http2: new directive 'H2MaxDataFrameLen n' to limit the maximum
...
amount of response body bytes put into a single HTTP/2 DATA frame.
Setting this to 0 places no limit (but the max size allowed by the
protocol is observed).
The module, by default, tries to use the maximum size possible, which is
somewhat around 16KB. This sets the maximum. When less response data is
available, smaller frames will be sent.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907697 13f79535-47bb-0310-9956-ffa450edef68
2023-02-16 11:58:45 +00:00
46fff96dd2
*) mod_http2: deny protocol upgrade if the request has a chunked-encoded body.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907696 13f79535-47bb-0310-9956-ffa450edef68
2023-02-16 10:21:23 +00:00
b838986461
Fix signedness formatting check in mod_dav code.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907695 13f79535-47bb-0310-9956-ffa450edef68
2023-02-16 10:09:02 +00:00
783c8f5c2e
Fix warning for NULL pointer
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907683 13f79535-47bb-0310-9956-ffa450edef68
2023-02-15 16:27:55 +00:00
83284242e1
Fix warnings
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907680 13f79535-47bb-0310-9956-ffa450edef68
2023-02-15 14:07:14 +00:00
05b4010efc
configure: Assume crypt() does not support SHA-2 when cross-compiling.
...
Can be forced with "./configure ap_cv_crypt_sha2=yes ..." still.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907672 13f79535-47bb-0310-9956-ffa450edef68
2023-02-15 11:43:44 +00:00
f55951d0d1
Remove Travis configuration, it's no longer supported by the ASF. [skip ci]
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907671 13f79535-47bb-0310-9956-ffa450edef68
2023-02-15 10:24:36 +00:00
0f2e7a24f5
Clear cache for mod_tls test.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907670 13f79535-47bb-0310-9956-ffa450edef68
2023-02-15 10:14:19 +00:00
8b0f82638d
Turn msext_opts into a bitfield
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907649 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 13:58:51 +00:00
e9c90cd57c
FIx typo
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907647 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 13:56:45 +00:00
bed50350e4
Add MS-WDV support
...
MS-WDV specification:
https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-wdv
The changes introduces the DAVMSext directive, which is used to
enable MS-WDV: DAVMSext +WDV
dav_get_timeout_string() is introduced as a variant of dav_get_timeout().
The former parses a string, the later parse the Timeout HTTP header.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907608 13f79535-47bb-0310-9956-ffa450edef68
2023-02-13 16:48:35 +00:00
7e5010b3cb
* Optimize code: We know that we already have a valid encoding string,
...
because we just decoded it. Hence just copy what we have instead of
redoing it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907565 13f79535-47bb-0310-9956-ffa450edef68
2023-02-10 16:17:54 +00:00
d7b288dff4
Further migration of tests to GHA, though HTTP/2, ACME and
...
i386 build testing are all failing so currently disabled.
Caching needs adjusting to use a different model to Travis.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907506 13f79535-47bb-0310-9956-ffa450edef68
2023-02-07 16:15:05 +00:00
c23375e945
* In the reverse proxy case r->filename might contain a query string if
...
the nocanon option was used with ProxyPass.
If this is the case cut off the query string as the last parameter in
this query string might end up on an extension we take care about, but
we only want to match against path components not against query
parameters.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907505 13f79535-47bb-0310-9956-ffa450edef68
2023-02-07 14:20:37 +00:00
16f6da48a2
fr doc rebuild.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907311 13f79535-47bb-0310-9956-ffa450edef68
2023-02-04 16:21:16 +00:00
766c9ae321
fr doc XML files update.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907310 13f79535-47bb-0310-9956-ffa450edef68
2023-02-04 16:19:31 +00:00
324d43c952
Add todo list for GHA migration. [skip ci]
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907237 13f79535-47bb-0310-9956-ffa450edef68
2023-02-03 12:00:07 +00:00
e8af4ff4b6
Travis RIP, WIP. [skip ci]
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907236 13f79535-47bb-0310-9956-ffa450edef68
2023-02-03 11:59:02 +00:00
078e5a9cab
Migrate more tests to Github Actions.
...
Github: fixes #340 , fixes #339
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907235 13f79535-47bb-0310-9956-ffa450edef68
2023-02-03 11:28:51 +00:00
01055edef2
Someone updated the copyright year. :)
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907148 13f79535-47bb-0310-9956-ffa450edef68
2023-01-31 15:04:05 +00:00
b660fd0ff6
Fixes the inverted labels in this example log format string, as per bz65060
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907144 13f79535-47bb-0310-9956-ffa450edef68
2023-01-31 14:33:15 +00:00