summaryrefslogtreecommitdiffstats
path: root/modules/http2/h2.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-06-01tests: synch with recent changes from mod_h2 repositoryStefan Eissing8-50/+233
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910156 13f79535-47bb-0310-9956-ffa450edef68
2023-05-30ab: STATE_CONNECTED is not used anymore.Yann Ylavic1-8/+0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910136 13f79535-47bb-0310-9956-ffa450edef68
2023-05-22 *) mod_proxy_http2: fix retry handling to not leak temporary errors.Stefan Eissing4-33/+34
On detecting that that an existing connection was shutdown by the other side, a 503 response leaked even though the request was retried on a fresh connection. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909989 13f79535-47bb-0310-9956-ffa450edef68
2023-05-22tests: parameterize some h2 tests to make fail cases better visibleStefan Eissing2-34/+37
- make conf setup for test_h2_004_41 local git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909982 13f79535-47bb-0310-9956-ffa450edef68
2023-05-21When we are at flush_max_threshold and the next bucket is a metadata (i.e. ↵Christophe Jaillet1-30/+30
next->length == 0), we still need to re-check for flush_max_threshold and associated optimisation (is_in_memory_bucket()) when we process this metadata bucket in the next iteration of the loop. Follow-up to r1892450. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909966 13f79535-47bb-0310-9956-ffa450edef68
2023-05-21The default value of FlushMaxThreshold is defined as AP_FLUSH_MAX_THRESHOLD, ↵Christophe Jaillet1-1/+1
which is 65535. [skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909959 13f79535-47bb-0310-9956-ffa450edef68
2023-05-19 *) mod_http2: avoid double chunked-encoding on internal redirects.Stefan Eissing4-2/+25
PR 66597 [Yann Ylavic, Stefan Eissing] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909932 13f79535-47bb-0310-9956-ffa450edef68
2023-05-19mod_authnz_ldap.c: Make sure the authentication variables are set inGraham Leggett2-0/+20
all cases where another module is the source of the authentication, and that authenticated user is looked up in LDAP. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909928 13f79535-47bb-0310-9956-ffa450edef68
2023-05-19Update log-message tags.Graham Leggett1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909927 13f79535-47bb-0310-9956-ffa450edef68
2023-05-19Sign with the signer key. Previously the verify key was used, which only workedGraham Leggett1-2/+3
if the signing and verifying keys were the same. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909926 13f79535-47bb-0310-9956-ffa450edef68
2023-05-15a few tweaks to SetEnvIfExpr docEric Covener1-3/+4
From a question on IRC, show a backreference example. Fix a bad copy/paste where a link to <if> was present. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909833 13f79535-47bb-0310-9956-ffa450edef68
2023-05-13fr doc rebuild.Lucien Gentis3-576/+611
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909795 13f79535-47bb-0310-9956-ffa450edef68
2023-05-13fr doc XML file update.Lucien Gentis1-1/+39
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909794 13f79535-47bb-0310-9956-ffa450edef68
2023-05-12 *) mod_http2: v2.0.15 with the following fixes and improvementsStefan Eissing29-115/+586
- New directive 'H2EarlyHint name value' to add headers to a response, picked up already when a "103 Early Hints" response is sent. 'name' and 'value' must comply to the HTTP field restrictions. This directive can be repeated several times and header fields of the same names add. Sending a 'Link' header with 'preload' relation will also cause a HTTP/2 PUSH if enabled and supported by the client. - Fixed an issue where requests were not logged and accounted in a timely fashion when the connection returns to "keepalive" handling, e.g. when the request served was the last outstanding one. This led to late appearance in access logs with wrong duration times reported. - Accurately report the bytes sent for a request in the '%O' Log format. This addresses #203, a long outstanding issue where mod_h2 has reported numbers over-eagerly from internal buffering and not what has actually been placed on the connection. The numbers are now the same with and without H2CopyFiles enabled. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909769 13f79535-47bb-0310-9956-ffa450edef68
2023-05-09ignore errors due to races if a parallel mkdir.sh alreadyGiovanni Bechis1-1/+7
created the dir git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909707 13f79535-47bb-0310-9956-ffa450edef68
2023-05-05dav_fs_cmds is declared twice in the file... VS 2022 complains about it.Jean-Frederic Clere1-2/+0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909628 13f79535-47bb-0310-9956-ffa450edef68
2023-05-04Follow up to r1909429: Fix scope/block syntax.Yann Ylavic1-2/+2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909606 13f79535-47bb-0310-9956-ffa450edef68
2023-05-02tests, adding ignore for warnings that child did not exist in timeStefan Eissing1-0/+1
- this seems CI related, does not happen on local machine git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909568 13f79535-47bb-0310-9956-ffa450edef68
2023-05-02tests, make test_h2_106_02 more robustStefan Eissing1-4/+10
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909567 13f79535-47bb-0310-9956-ffa450edef68
2023-05-02test_h2_700_11, limit parallel connections, better error outputStefan Eissing1-9/+9
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909566 13f79535-47bb-0310-9956-ffa450edef68
2023-05-02test_h2_200_16, check that we have at least nghttp2 v1.45.0Stefan Eissing1-4/+4
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909565 13f79535-47bb-0310-9956-ffa450edef68
2023-05-02tests, re-enable http/2 tests in github workflow, install latest rustls-ffi ↵Stefan Eissing3-20/+18
version git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909563 13f79535-47bb-0310-9956-ffa450edef68
2023-05-02 *) test: check for recent curl version in proxy testsStefan Eissing3-0/+19
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909560 13f79535-47bb-0310-9956-ffa450edef68
2023-05-02 *) mod_tls: updating to rustls-ffi version 0.9.2 or higher.Stefan Eissing3-3/+8
Checking in configure for proper version installed. Code fixes for changed clienthello member name. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909558 13f79535-47bb-0310-9956-ffa450edef68
2023-04-29fr doc - rebuildLucien Gentis15-158/+807
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909485 13f79535-47bb-0310-9956-ffa450edef68
2023-04-29fr doc - new translated XML files added.Lucien Gentis3-0/+494
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909484 13f79535-47bb-0310-9956-ffa450edef68
2023-04-28* In the reverse proxy case when we only want to keep encoded slashes untouchedRuediger Pluem2-19/+32
we can have decoded '%''s in the URI that got sent to us in the original URL as %25. Don't error out in this case but just fall through and have them encoded to %25 when forwarding to the backend. PR: 66580 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909464 13f79535-47bb-0310-9956-ffa450edef68
2023-04-27make test cases for mod_tls work, do not clear gen directory on every invocationStefan Eissing2-6/+6
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909454 13f79535-47bb-0310-9956-ffa450edef68
2023-04-27make the h1 test suite work againStefan Eissing2-35/+60
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909453 13f79535-47bb-0310-9956-ffa450edef68
2023-04-27make the http2 test suite working againStefan Eissing13-185/+113
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909452 13f79535-47bb-0310-9956-ffa450edef68
2023-04-27* If we fail to connect to all looked up IP's from the worker lookup cache itRuediger Pluem1-0/+31
might be caused by a change on DNS side. Try another DNS lookup in this case and in case this causes a successful connection trigger a refresh of the worker lookup cache. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909451 13f79535-47bb-0310-9956-ffa450edef68
2023-04-27Make sources build with latest clang versionStefan Eissing8-10/+8
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909450 13f79535-47bb-0310-9956-ffa450edef68
2023-04-26mod_status: Remove duplicate keys "BusyWorkers" and "IdleWorkers".Rainer Jung1-25/+23
Resolve inconsistency between the previous two occurrences by counting workers in state SERVER_GRACEFUL no longer as busy, but instead in a new counter "GracefulWorkers" (or on HTML view as "workers gracefully restarting"). Also add the graceful counter as a new column to the existing HTML per process table for async MPMs. PR 63300 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909429 13f79535-47bb-0310-9956-ffa450edef68
2023-04-25De-duplicate log message tags.Graham Leggett2-3/+3
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909419 13f79535-47bb-0310-9956-ffa450edef68
2023-04-25Apply log next numbers.Graham Leggett3-25/+25
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909418 13f79535-47bb-0310-9956-ffa450edef68
2023-04-25The apr_jose API requires apr-util 1.7+.Graham Leggett1-2/+36
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909416 13f79535-47bb-0310-9956-ffa450edef68
2023-04-25Regenerate docs.Graham Leggett24-155/+1008
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909412 13f79535-47bb-0310-9956-ffa450edef68
2023-04-25 *) mod_autht_jwt: New module to handle RFC 7519 JWT tokens withinGraham Leggett8-0/+2240
bearer tokens, both as part of the aaa framework, and as a way to generate tokens and pass them to backend servers and services. *) mod_auth_bearer: New module to handle RFC 6750 Bearer tokens, using the token_checker hook. *) mod_autht_core: New module to handle provider aliases for token authentication. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909411 13f79535-47bb-0310-9956-ffa450edef68
2023-04-25core: Add the token_checker hook, that allows authentication to takeGraham Leggett6-1/+120
place using mechanisms other than username/password, such as bearer tokens. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909409 13f79535-47bb-0310-9956-ffa450edef68
2023-04-25* Rephrase comment [skip ci]Ruediger Pluem1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909402 13f79535-47bb-0310-9956-ffa450edef68
2023-04-25* Clear the dns_pool before to avoid a memory leak in case we did the lookupRuediger Pluem1-0/+4
again. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909401 13f79535-47bb-0310-9956-ffa450edef68
2023-04-25* For retriggering a DNS lookup worker->cp->addr should be set to NULL and thusRuediger Pluem1-6/+12
we need to avoid a race that worker->cp->addr switches to NULL after we checked it to be non NULL but before we assign it to conn->addr in an else tree which would leave conn->addr to NULL and likely cause a segfault later. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909400 13f79535-47bb-0310-9956-ffa450edef68
2023-04-25Rebuild docs.Graham Leggett1-2/+2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909395 13f79535-47bb-0310-9956-ffa450edef68
2023-04-23ci: Upgrade to latest apr-1.7.4.Yann Ylavic1-7/+7
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909369 13f79535-47bb-0310-9956-ffa450edef68
2023-04-23Follow up to r1909356: c89/style fix.Yann Ylavic1-4/+4
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909368 13f79535-47bb-0310-9956-ffa450edef68
2023-04-22core: Restore original regex value when nesting Location,Graham Leggett1-0/+14
Directory and File directives. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909356 13f79535-47bb-0310-9956-ffa450edef68
2023-04-21Update ci docs for move to GHA. [skip ci]Joe Orton1-14/+19
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909327 13f79535-47bb-0310-9956-ffa450edef68
2023-04-19CI tests are failing (since r1909135), set a lower timeout since Joe Orton1-0/+1
the default is a rather extreme 6hrs. Worst cases seem to be around 10 minutes currently. [skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909242 13f79535-47bb-0310-9956-ffa450edef68
2023-04-19* Add server directory to include path as mod_rewrite requires test_char.h.Ruediger Pluem2-0/+7
PR: 66571 Submitted by: Valeria Petrov <valeria.petrov@spinetix.com> Reviewed by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909241 13f79535-47bb-0310-9956-ffa450edef68
2023-04-18fr doc rebuild.Lucien Gentis1-2/+2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909218 13f79535-47bb-0310-9956-ffa450edef68