summaryrefslogtreecommitdiffstats
path: root/include/util_cookies.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-07-20* os/win32/modules.c: Include "ap_config.h" to match the file generated byIvan Zhakov1-0/+1
build/build-modules-c.awk. It doesn't change the behaviour because ap_config.h is included by httpd.h. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919392 13f79535-47bb-0310-9956-ffa450edef68
2024-07-20* os/win32/modules.c: Add AP_DECLARE_DATA to ap_prelinked_module_symbolsIvan Zhakov1-1/+1
to match definition in ap_config.h. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919391 13f79535-47bb-0310-9956-ffa450edef68
2024-07-18Skip more h2 tests in preforkRainer Jung2-2/+4
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919334 13f79535-47bb-0310-9956-ffa450edef68
2024-07-18Skip h2 tests on preforkRainer Jung4-0/+13
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919332 13f79535-47bb-0310-9956-ffa450edef68
2024-07-17Fix typo in test nameRainer Jung1-2/+2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919330 13f79535-47bb-0310-9956-ffa450edef68
2024-07-17mod_rewrite: Better question mark tracking to avoid UnsafeAllow3F. PR 69197.Yann Ylavic2-18/+92
Track in do_expand() whether a '?' in the uri-path comes from a literal in the substitution string or from an expansion (variable, lookup, ...). In the former case it's safe to assume that it's the query-string separator but for the other case it's not (could be a decoded %3f from r->uri). This allows to avoid [UnsafeAllow3F] for most cases. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919325 13f79535-47bb-0310-9956-ffa450edef68
2024-07-16core: Improve AP_REQUEST_ #defines.Yann Ylavic1-2/+2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919290 13f79535-47bb-0310-9956-ffa450edef68
2024-07-16Make sure pytest shuts down the web server after each packageRainer Jung5-0/+24
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919265 13f79535-47bb-0310-9956-ffa450edef68
2024-07-15copy the trusted flag from the subrequestEric Covener1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919247 13f79535-47bb-0310-9956-ffa450edef68
2024-07-15merge leading slashes by defaultEric Covener3-1/+26
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919246 13f79535-47bb-0310-9956-ffa450edef68
2024-07-12core: ap_location_walk() does not deal with the filesystemYann Ylavic1-1/+1
So it shouldn't merge slashes according to filesystem rules. * server/request.c(ap_location_walk): Use ap_no2slash_ex(,0) instead of ap_no2slash() to ignore filesystem specifics. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919165 13f79535-47bb-0310-9956-ffa450edef68
2024-07-11mod_status: "Threads" span three colomns (busy, graceful, idle), not two.Yann Ylavic1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919148 13f79535-47bb-0310-9956-ffa450edef68
2024-07-11mod_status: Follow up to r1918482: Bump colspan for the new wait-io colomnYann Ylavic1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919141 13f79535-47bb-0310-9956-ffa450edef68
2024-07-11test http1, add version check for trailer testsStefan Eissing1-0/+4
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919125 13f79535-47bb-0310-9956-ffa450edef68
2024-07-10sync test code with mod-h2Stefan Eissing7-4/+61
- shutdown server at end of h2 tests - adapt minimum httpd versions for some tests - add test_700_20 for load on blocked connections, disabled for now until mpm_event improves - build websocket client automatically git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919087 13f79535-47bb-0310-9956-ffa450edef68
2024-07-08mod_md: Keep compat with openssl < 1.1Yann Ylavic1-13/+38
EVP_PKEY_get0_RSA() does not exist in openssl < 1.1, use EVP_PKEY_get1_RSA() instead, hence RSA_free() the returned ref to avoid a leak. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919026 13f79535-47bb-0310-9956-ffa450edef68
2024-07-08Follow up to r1919023: fix compilation.Yann Ylavic1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919024 13f79535-47bb-0310-9956-ffa450edef68
2024-07-08mod_proxy: Don't mangle r->filename when ap_proxy_canon_netloc() fails.Yann Ylavic1-1/+1
ap_proxy_canon_netloc() called from canon_handler hooks modifies its given url in pace, hence &r->filename[6] passed from ap_proxy_canon_url(). This is not an issue if every canon_handler hook succeeds (or declines) since r->filename is usually completely rewritten finally, but on failure it gets truncated. Avoid this by passing a copy of r->filename from the start, the proxy *url and r->filename don't need to point to the same data. * proxy/proxy_util.c(ap_proxy_canon_url): Pass a copy of r->filename to the canon_handler hooks. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919023 13f79535-47bb-0310-9956-ffa450edef68
2024-07-08mod_proxy: Fix canonicalisation and FCGI env (PATH_INFO, SCRIPT_NAME) forYann Ylavic6-181/+176
"balancer:" URLs set via SetHandler, also allowing for "unix:" sockets with BalancerMember(s). PR 69168. * modules/proxy/proxy_util.h, modules/proxy/proxy_util.c: Move proxy_interpolate() from mod_proxy.c to ap_proxy_interpolate(), exported locally only (non public). Move proxy_fixup() from mod_proxy.c to ap_proxy_canon_url(), exported locally only too (non public). Rollback ap_proxy_fixup_uds_filename() to a local fixup_uds_filename() usable from proxy_util.c only. The public function will be removed in a following commit. * modules/proxy/mod_proxy.h: Note that ap_proxy_fixup_uds_filename() is deprecated. * modules/proxy/mod_proxy.c: Just use ap_proxy_canon_url() from proxy_fixup() and proxy_handler() for SetHandler URLs. * modules/proxy/mod_proxy_balancer.c: Do not canonicalize the path from proxy_balancer_canon() anymore but rather from balancer_fixup() where the balancer URL is rewritten to the BalancerMember URL. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919022 13f79535-47bb-0310-9956-ffa450edef68
2024-07-08Follow up to r1919015: fix compilation.Yann Ylavic1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919019 13f79535-47bb-0310-9956-ffa450edef68
2024-07-08mod_proxy: Avoid AH01059 parsing error for SetHandler "unix:" URLs. PR 69160Yann Ylavic2-4/+23
The hostname part of the URL is not mandated for UDS though the canon_handler hooks will require it, so add "localhost" if it's missing (won't be used anyway for an AF_UNIX socket). This can trigger with SetHandler "unix:" URLs which are now also fixed up. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919015 13f79535-47bb-0310-9956-ffa450edef68
2024-07-06fr doc rebuild.Lucien Gentis13-43/+112
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918971 13f79535-47bb-0310-9956-ffa450edef68
2024-07-06fr doc XML files updates.Lucien Gentis4-9/+71
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918970 13f79535-47bb-0310-9956-ffa450edef68
2024-07-05* Check for correct OpenSSL version for mod_ssl_ctRuediger Pluem1-1/+11
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918935 13f79535-47bb-0310-9956-ffa450edef68
2024-07-04mention quirks, add example, clarifyEric Covener1-8/+15
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918892 13f79535-47bb-0310-9956-ffa450edef68
2024-07-03mod_ssl: Let modssl_set_io_callbacks() whether which callback is needed.Yann Ylavic3-13/+16
* modules/ssl/ssl_private.h: Add conn_rec and server_rec args to modssl_set_io_callbacks(). * modules/ssl/ssl_engine_io.c(modssl_set_io_callbacks): Don't set modssl_io_cb for log levels below TRACE4. * modules/ssl/ssl_engine_io.c(ssl_io_filter_init), modules/ssl/ssl_engine_kernel.c(ssl_find_vhost): Call modssl_set_io_callbacks() unconditionally. * modules/ssl/ssl_engine_io.c(modssl_io_cb): While at it, (cmd & BIO_CB_WRITE) is enough to differentiate a write from read. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918883 13f79535-47bb-0310-9956-ffa450edef68