summaryrefslogtreecommitdiffstats
path: root/include/util_varbuf.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-03-30 *) test: verify that HTTP/2 response carry `Date` andStefan Eissing1-0/+9
`Server` headers. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899379 13f79535-47bb-0310-9956-ffa450edef68
2022-03-28xformsEric Covener1-3/+10
[skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899271 13f79535-47bb-0310-9956-ffa450edef68
2022-03-28add -n warnings/quirksEric Covener1-3/+10
https://bz.apache.org/bugzilla/show_bug.cgi?id=65980 [skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899269 13f79535-47bb-0310-9956-ffa450edef68
2022-03-27Fix a typo.Christophe Jaillet1-1/+1
PR 65978. Thanks to Stefan Hamburger <apache_f5dosu stefanhamburger.de> for finding it. [skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899234 13f79535-47bb-0310-9956-ffa450edef68
2022-03-26fr doc rebuild.Lucien Gentis3-37/+29
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899213 13f79535-47bb-0310-9956-ffa450edef68
2022-03-26fr doc XML doc file update.Lucien Gentis1-34/+29
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899212 13f79535-47bb-0310-9956-ffa450edef68
2022-03-26'interpolate' is a keyword, not a user-defined string.Christophe Jaillet1-9/+9
So it should not be in <var></var> in <syntax> and <code> should be used instead of <var> in explanations. While at it, fix some other style issues and missing links spotted here and there. [skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899205 13f79535-47bb-0310-9956-ffa450edef68
2022-03-25 *) test: making pytest option --repeat global as otherwiseStefan Eissing3-26/+12
there are conflicts when individual modules add that. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899198 13f79535-47bb-0310-9956-ffa450edef68
2022-03-25 *) test/modules/tls: make proxy tests repeatable.Stefan Eissing2-3/+20
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899197 13f79535-47bb-0310-9956-ffa450edef68
2022-03-24 *) mod_http2: in a recent change, code was removed that prevented connectionsStefan Eissing1-5/+21
with many parallel streams to stall. Re-added that, slightly improved and with a comment that explains the need for future humans. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899169 13f79535-47bb-0310-9956-ffa450edef68
2022-03-24 *) mod_http2: fixed a possible concurrency issue withStefan Eissing3-59/+86
registering h2_mplx at h2_workers. Improved h2_fifo internals efficiency inspired by ap_fdqueue. Made 711 tests repeatable. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899168 13f79535-47bb-0310-9956-ffa450edef68
2022-03-23 *) mod_http2: removed extra h2_mplx_worker_c2_done() argStefan Eissing3-69/+38
to retrive another c2 for processing. Just added complexity without measurable benefits. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899149 13f79535-47bb-0310-9956-ffa450edef68
2022-03-21 *) mod_http2: when using a pipe for input signalling, alwaysStefan Eissing3-1/+33
write to it on sending buckets, not only when it was empty. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899108 13f79535-47bb-0310-9956-ffa450edef68
2022-03-21 *) mod_http2: small improvements from the http1-separationStefan Eissing7-117/+51
branch that apply in general. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899107 13f79535-47bb-0310-9956-ffa450edef68
2022-03-21 *) mod_http2: remove internal bucket beamer registry and justStefan Eissing5-72/+13
copy well-known meta buckets in a beam. Was too generic. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899105 13f79535-47bb-0310-9956-ffa450edef68
2022-03-21 *) mod_http2: use pollset only for main connection and wakeupsStefan Eissing6-170/+34
for events on streams. Provide streams in INPUT pipe when needed and supported on the platform. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899102 13f79535-47bb-0310-9956-ffa450edef68
2022-03-18 *) core: adding a new hook and method to the API:Stefan Eissing15-301/+329
create_secondary_connection and ap_create_secondary_connection() to setup connections related to a "master" one, as used in the HTTP/2 protocol implementation. *) mod_http2: using the new API calls to get rid of knowledge about how the core handles conn_rec specifics. Improvements in pollset stream handling to use less sets. Using atomic read/writes instead of volatiles now. Keeping a reserve of "transit" pools and bucket_allocs for use on secondary connections to avoid repeated setup/teardowns. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899032 13f79535-47bb-0310-9956-ffa450edef68
2022-03-16Update to test against OpenSSL 3.0.2.Joe Orton1-3/+3
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898965 13f79535-47bb-0310-9956-ffa450edef68
2022-03-16 *) mod_md: fix compiler warning about NULL arg to a %s log. Fixes PR 65955.Stefan Eissing1-1/+3
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898962 13f79535-47bb-0310-9956-ffa450edef68
2022-03-15 *) mod_http2: disabling use of apr_pollsets for secondaryStefan Eissing1-0/+34
connections. Measurements show that their use leads to up to 30% performance drop on busy scenarios. Detailed numbers in the comment where this is disabled. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898943 13f79535-47bb-0310-9956-ffa450edef68
2022-03-12fr doc rebuild.Lucien Gentis4-10/+12
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898878 13f79535-47bb-0310-9956-ffa450edef68
2022-03-12fr doc XML files updates.Lucien Gentis2-6/+14
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898877 13f79535-47bb-0310-9956-ffa450edef68
2022-03-09* Improve detection of _Thread_localRuediger Pluem1-1/+3
GCC < 4.9 reports __STDC_VERSION__ >= 201112 but does not implement _Thread_local. Take care of this in the condition. See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203066 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898771 13f79535-47bb-0310-9956-ffa450edef68
2022-03-08* Improve the logic flowRuediger Pluem1-11/+19
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898735 13f79535-47bb-0310-9956-ffa450edef68
2022-03-08* Avoid "may be uninitialized" warningRuediger Pluem1-1/+2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898731 13f79535-47bb-0310-9956-ffa450edef68
2022-03-08Update Travis conditions to drop /candidate-2.4/ matching now releaseJoe Orton2-3/+2
scripts are updated to use "2.4.N..candidate" naming. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898728 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07Sync docs [skip ci]Yann Ylavic15-16/+42
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898709 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07 *) docs: add a missing closing tag.Stefan Eissing1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898702 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07Sync CHANGES entries [skip ci]Yann Ylavic14-51/+60
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898697 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07mod_sed: use size_t to allow for larger buffer sizes and unsigned arithmetics.Yann Ylavic3-43/+58
Let's switch to apr_size_t buffers and get rid of the ints. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898690 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07mod_lua: Error out if lua_read_body() or lua_write_body() fail.Yann Ylavic1-13/+20
Otherwise r:requestbody() or r:parsebody() failures might go unnoticed for the user. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898689 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07core: Make sure and check that LimitXMLRequestBody fits in system memory.Yann Ylavic5-6/+27
LimitXMLRequestBody can not exceed the size needed to ap_escape_html2() the body without failing to allocate memory, so enforce this at load time based on APR_SIZE_MAX, and make sure that ap_escape_html2() is within the bounds. Document the limits for LimitXMLRequestBody in our docs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898686 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07core: Simpler connection close logic if discarding the request body fails.Yann Ylavic3-53/+46
If ap_discard_request_body() sets AP_CONN_CLOSE by itself it simplifies and allows to consolidate end_output_stream() and error_output_stream(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898683 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07Adjust Travis branch-matching conditions to treat any Joe Orton2-2/+5
branch starting "2.4" like 2.4.x (in addition to "candidate-2.4"). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898671 13f79535-47bb-0310-9956-ffa450edef68
2022-03-06Add a missing space.Christophe Jaillet1-1/+1
[skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898647 13f79535-47bb-0310-9956-ffa450edef68
2022-03-05stealing 2 logtag numbers [skip ci]Stefan Eissing1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898623 13f79535-47bb-0310-9956-ffa450edef68
2022-03-04 *) mod_http2: change the port synthesis on upgraded h1 requestsStefan Eissing1-16/+17
after review by rpluem. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898593 13f79535-47bb-0310-9956-ffa450edef68
2022-03-03stealing 2 log numbers for http1-separation work [skip ci]Stefan Eissing1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898562 13f79535-47bb-0310-9956-ffa450edef68
2022-03-01mod_rewrite: URI-to-filename rewrites to transparently handle proxy mappings.Yann Ylavic2-8/+32
Since mod_rewrite works on r->filename and mod_proxy's mapping=servlet|decoded sets its "proxy:" URL there at pre_translate_name stage (i.e. before mod_rewrite's translate_name hook), users have to match the full proxy URL in their RewriteRules to handle proxy mappings, which is not very friendly nor consistent with how proxy non-mapping requests have to be matched. Let's use r->filename = r->uri in hook_uri2file() for pre_trans'ed reverse proxy requests, and restore r->filename to its original value if the request was finally DECLINED (like in hook_fixup). But if a proxy mapping gets rewritten to a non-proxy request, clear any proxy specific r->proxyreq or r->handler so that processing continues accordingly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898509 13f79535-47bb-0310-9956-ffa450edef68
2022-02-28 *) test/modules/http2: enable tests again where they should be.Stefan Eissing1-0/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898473 13f79535-47bb-0310-9956-ffa450edef68
2022-02-27ap_lua_init_mutex() is not about thead only . It also callsChristophe Jaillet1-2/+1
apr_global_mutex_child_init(). So I see no good reason to skip this hook if !APR_HAS_THREADS. Some #if APR_HAS_THREADS are also already in place in ap_lua_init_mutex() anyway. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898453 13f79535-47bb-0310-9956-ffa450edef68
2022-02-25 *) mod_watchdog: add assertions to cleanup codeStefan Eissing2-11/+29
*) core/mpm_preform: do not invoke the fancy new child_stopping/stopped hooks when invoked from a signal handler. This is a stopgap to some strange behaviour in need of some deeper insight. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898418 13f79535-47bb-0310-9956-ffa450edef68
2022-02-25 *) test: check for the mpm module used and disable http2 testsStefan Eissing29-25/+58
for prefork. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898417 13f79535-47bb-0310-9956-ffa450edef68
2022-02-25 *) test: assume that modules which do not appear in our list of DSO_MODULESStefan Eissing2-8/+9
or MPM_MODULES from configure are statically linked and do not need a load. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898411 13f79535-47bb-0310-9956-ffa450edef68
2022-02-25free memory when neededGiovanni Bechis1-1/+6
bz #65905 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898410 13f79535-47bb-0310-9956-ffa450edef68
2022-02-24 *) core/prefork: run new hook `child_stopped` only on clean exit.Stefan Eissing1-4/+4
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898381 13f79535-47bb-0310-9956-ffa450edef68
2022-02-24 *) mod_watchdog: do not call a watchdog instance forStefan Eissing1-24/+4
AP_WATCHDOG_STATE_STOPPING outside its thread, as watchdog instances are not prepared to be invoked concurrently. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898376 13f79535-47bb-0310-9956-ffa450edef68
2022-02-24 *) test/modules/http2. convert bytes to string beforeStefan Eissing1-1/+1
writing output of a failed transfer to file. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898373 13f79535-47bb-0310-9956-ffa450edef68
2022-02-24 *) test: latest plot twist in getting a new-enough cbindgenStefan Eissing1-1/+2
on focal and use it for the mod_tls tests. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898372 13f79535-47bb-0310-9956-ffa450edef68
2022-02-24 *) mod_watchdog: use the `child_stopping` and `child_stopped` hooksStefan Eissing2-9/+56
to shutdown workers before pool destruction releases global resources and libraries. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898370 13f79535-47bb-0310-9956-ffa450edef68