summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add missing pool tags to help debugging.Yann Ylavic2020-04-1642-5/+69
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876599 13f79535-47bb-0310-9956-ffa450edef68
* Axe remainder from r1875947.Yann Ylavic2020-04-161-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876595 13f79535-47bb-0310-9956-ffa450edef68
* Credits where it's due.Yann Ylavic2020-04-161-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876594 13f79535-47bb-0310-9956-ffa450edef68
* Add forgotten entries.Jean-Frederic Clere2020-04-161-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876591 13f79535-47bb-0310-9956-ffa450edef68
* mod_{ssl,md}: init_stapling_status hooks should return an int.Yann Ylavic2020-04-153-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876549 13f79535-47bb-0310-9956-ffa450edef68
* mod_ssl: Fix memory leak in stapling code. PR63687.Yann Ylavic2020-04-152-11/+19
| | | | | | | | | Free issuer's X509 in ssl_stapling_init_cert()'s early return paths. Submitted by: icing git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876548 13f79535-47bb-0310-9956-ffa450edef68
* PR64295 cannot override default Virtualhost's mod_reqtimeoutJean-Frederic Clere2020-04-151-2/+2
| | | | | | | of course only body=n can work the headers have to parsed to get the virtualhost. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876540 13f79535-47bb-0310-9956-ffa450edef68
* * modules/core/mod_watchdog.c: Switch to simpler logic to avoid theJoe Orton2020-04-141-18/+12
| | | | | | | | | | | | | | thread cleanup running before the thread has started, avoiding mutex operations which both have undefined behaviour: a) double-locking an UNNESTED (non-recursive) mutex twice in the parent b) unlocking a mutex in the spawned thread which was locked by the parent (wd_startup, wd_worker_cleanup, wd_worker): Use a boolean to ensure the cleanup does nothing if the thread wasn't started, drop the mutex. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876511 13f79535-47bb-0310-9956-ffa450edef68
* * Whitespace style fixes. No functional change.Ruediger Pluem2020-04-141-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876493 13f79535-47bb-0310-9956-ffa450edef68
* PR64313 htcacheclean: Empty directories in CacheRoot are still present even ↵Jean-Frederic Clere2020-04-141-0/+9
| | | | | | after using "-t" git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876484 13f79535-47bb-0310-9956-ffa450edef68
* Don't fail the Travis build for ppc64le jobs, which are also unreliable.Joe Orton2020-04-141-0/+2
| | | | | | | e.g. https://travis-ci.org/github/apache/httpd/jobs/670727360 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876479 13f79535-47bb-0310-9956-ffa450edef68
* PR64342 feedbackEric Covener2020-04-121-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876428 13f79535-47bb-0310-9956-ffa450edef68
* t/apache/mmn.t caught meEric Covener2020-04-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876423 13f79535-47bb-0310-9956-ffa450edef68
* PR63628: individual status codes for ProxyErrorOverride.Eric Covener2020-04-1110-19/+108
| | | | | | | | | | | Support specifying the http status codes to be considered by ProxyErrorOverride Submitted By: Martin Drößler <mail martindroessler.de> Committed By: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876404 13f79535-47bb-0310-9956-ffa450edef68
* Issue a warning for non-existent directories when running configtestEric Covener2020-04-113-1/+13
| | | | | | | | | Submitted By: Stéphane Blondon <stephane.blondon gmail.com> Committed By: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876402 13f79535-47bb-0310-9956-ffa450edef68
* fr doc rebuild.Lucien Gentis2020-04-043-76/+123
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876119 13f79535-47bb-0310-9956-ffa450edef68
* fr doc XML file update.Lucien Gentis2020-04-041-61/+106
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876118 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ssl/ssl_engine_io.c (ssl_io_filter_coalesce): Further tweaksJoe Orton2020-04-021-16/+31
| | | | | | | | | | | to logic, comments and debugging: - allow buffering up to exactly COALESCE_BYTES rather than COALESCE_BYTES-1. - put bucket type name in logging output - do not coalesce a single-bucket prefix of length equal to the buffer size (which would be a pointless memory copy). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876037 13f79535-47bb-0310-9956-ffa450edef68
* core: add r->flushed flag and set it when the response is sent.Yann Ylavic2020-04-027-16/+46
| | | | | | | | | | | | | | | | | | | By setting EOR->r->flushed in the core output filter, allow one to determine at log_transaction hook time whether the request has been fully flushed through the network, or not (network issue, filter error, n-th pipelined resposne...). Introduce the ap_bucket_eor_request() helper to get the request bound to an EOR bucket, and uses it in ap_core_output_filter() to mark the EOR's request just before destroying it, after all the previous buckets have been sent. While at it, rename the request_rec* member of struct ap_bucket_eor from "data" to "r", which makes the code clearer (not to be confused with b->data). Finally, add CustomLog format %F, showing "F" or "-" depending on r->flushed, for admins to figure out for each request. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876017 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ssl/ssl_engine_io.c (ssl_io_filter_coalesce): Handle the caseRuediger Pluem2020-04-011-29/+29
| | | | | | | | | | | where apr_bucket_read fails with an error and hence our current bucket remains the morphing bucket and is not replaced with a 'data' bucket. If the error is not EAGAINi, error out with an AP_FILTER_ERROR, otherwise just do not consider the morphing bucket that has no data for coalesce. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876014 13f79535-47bb-0310-9956-ffa450edef68
* ap_core_output_filter: follow up to r1875947: don't swallow bucket read EOF.Yann Ylavic2020-04-011-6/+0
| | | | | | | | | | Morphing buckets don't return APR_EOF on read when exhausted, ignoring EOF here could mask real errors (e.g. FILE bucket truncated under us). Thanks rpluem/jorton! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876000 13f79535-47bb-0310-9956-ffa450edef68
* MMN major bump for r1875947.Yann Ylavic2020-04-011-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875999 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ssl/ssl_engine_io.c (ssl_io_filter_coalesce): Treat zero-lengthJoe Orton2020-04-011-2/+6
| | | | | | | buckets consistently (ignore them) after a morphing bucket morphs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875988 13f79535-47bb-0310-9956-ffa450edef68
* core: handle morphing buckets setaside/reinstate and kill request core filter.Yann Ylavic2020-03-317-222/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The purpose of ap_request_core_filter() is not clear, it seems to prevent potential morphing buckets to go through AP_FTYPE_CONNECTION filters which would fail to set them aside (ENOTIMPL), and read them (unbounded) in memory. This patch allows ap_filter_setaside_brigade() to set morphing buckets aside by simply moving them, assuming they have the correct lifetime (either until some further EOR, or the connection lifetime, or whatever). IOW, the module is responsible for sending morphing buckets whose lifetime needs not be changed by the connection filters. Now since morphing buckets consume no memory until (apr_bucket_)read, like FILE buckets, we don't account for them in flush_max_threshold either. This changes ap_filter_reinstate_brigade() to only account for in-memory and EOR buckets to flush_upto. Also, since the EOR bucket is sent only to c->output_filters once the request is processed, when all the filters < AP_FTYPE_CONNECTION have done their job and stopped retaining data (after the EOS bucket, if ever), we prevent misuse of ap_filter_{setaside,reinstate}_brigade() outside connection filters by returning ENOTIMPL. This is not the right API for request filters as of now. Finally, ap_request_core_filter() and co can be removed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875947 13f79535-47bb-0310-9956-ffa450edef68
* Adds additional clarification, as requested in bz64167Rich Bowen2020-03-311-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875941 13f79535-47bb-0310-9956-ffa450edef68
* For future debugging ease, output the Travis tag & branch. [skip ci]Joe Orton2020-03-311-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875923 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ssl/ssl_engine_io.c: Update comment, no function change, [skip ci]Joe Orton2020-03-301-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875883 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ssl/ssl_engine_io.c: (ssl_io_filter_coalesce): Handle theJoe Orton2020-03-301-1/+11
| | | | | | | | case of a bucket which morphs to a bucket short enough to fit within the buffer without needing to split. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875881 13f79535-47bb-0310-9956-ffa450edef68
* Add lognos. [skip ci].Joe Orton2020-03-302-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875879 13f79535-47bb-0310-9956-ffa450edef68
* mod_ssl: Extend the coalescing filter to avoid sending HTTP responseJoe Orton2020-03-301-12/+63
| | | | | | | | | | | | | | headers in a separate TLS record to the response body in some cases. * modules/ssl/ssl_engine_io.c: Increase size of coalesce buffer to AP_IOBUFSIZE (8Kb). (ssl_io_filter_coalesce): Try harder to fill the prefix which gets coalesced, including a read&split of a morphing bucket type Github: closes #106 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875871 13f79535-47bb-0310-9956-ffa450edef68
* Fix a copy/paste at the wrong placeChristophe Jaillet2020-03-291-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875857 13f79535-47bb-0310-9956-ffa450edef68
* xforms Eric Covener2020-03-291-0/+8
| | | | | | | | [skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875854 13f79535-47bb-0310-9956-ffa450edef68
* duplicatedEric Covener2020-03-291-1/+0
| | | | | | | [skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875853 13f79535-47bb-0310-9956-ffa450edef68
* typoEric Covener2020-03-291-1/+1
| | | | | | | [skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875852 13f79535-47bb-0310-9956-ffa450edef68
* Add some compatibility notes for new directives in 2.4.42.Christophe Jaillet2020-03-281-35/+69
| | | | | | | | | Add some missing <module> and <directive> to improve navigation and style. Fix the format of some <default> Add some placeholders for the MDCertificateCheck and MDActivationDelay directives. (new in 2.4.42) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875818 13f79535-47bb-0310-9956-ffa450edef68
* Fix a typoChristophe Jaillet2020-03-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875811 13f79535-47bb-0310-9956-ffa450edef68
* fr doc rebuild.Lucien Gentis2020-03-284-3/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875808 13f79535-47bb-0310-9956-ffa450edef68
* fr doc XML file update.Lucien Gentis2020-03-281-1/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875807 13f79535-47bb-0310-9956-ffa450edef68
* add userdir same-origin warnings to mod_userdirEric Covener2020-03-271-0/+8
| | | | | | | Submitted By: Hanno Böck <hanno hboeck.de> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875785 13f79535-47bb-0310-9956-ffa450edef68
* Parentheses around AP_BUCKET_IS_EOR argument.Yann Ylavic2020-03-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875769 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ssl/ssl_private.h: Define X509_up_ref and EVP_PKEY_up_refJoe Orton2020-03-263-12/+2
| | | | | | | | | | | | | for OpenSSL < 1.1. * modules/ssl/ssl_engine_kernel.c (modssl_set_cert_info): * modules/ssl/ssl_util_stapling.c (stapling_get_issuer): Use the above macros for all OpenSSL versions. Github: closes #104 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875702 13f79535-47bb-0310-9956-ffa450edef68
* Drop -v from arm64 test runs and add to allowed failures, it is stillJoe Orton2020-03-251-2/+3
| | | | | | | not as reliable as x86 builds. [skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875648 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ssl/ssl_engine_vars.c (ssl_get_tls_cb): Fix leak of X509Joe Orton2020-03-251-0/+5
| | | | | | | | | struct when accessing SERVER_TLS_SERVER_END_POINT. PR: 64264 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875647 13f79535-47bb-0310-9956-ffa450edef68
* Trivial change to trigger a Travis build.Rainer Jung2020-03-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875641 13f79535-47bb-0310-9956-ffa450edef68
* revert for now, surprising the scheme is present.Eric Covener2020-03-252-7/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875605 13f79535-47bb-0310-9956-ffa450edef68
* PR63437: don't clobber the scheme in r->uri with MergeSlashesEric Covener2020-03-252-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875604 13f79535-47bb-0310-9956-ffa450edef68
* wss also needs is_ssl.Jean-Frederic Clere2020-03-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875579 13f79535-47bb-0310-9956-ffa450edef68
* Fix compilation breakage with OpenSSL 1.1.0 up to 1.1.0f.Rainer Jung2020-03-231-1/+1
| | | | | | | | | SSL_CTX_get_min_proto_version() and SSL_CTX_get_max_proto_version() were only introduced in 1.1.0g. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875544 13f79535-47bb-0310-9956-ffa450edef68
* Better define conditions for skipping tests on 2.4.x or non-2.4.x.Joe Orton2020-03-231-7/+14
| | | | | | | | Use YAML anchors and references to avoid copy&pasting, hopefully the syntax remains reasonably readable. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875540 13f79535-47bb-0310-9956-ffa450edef68
* silence an "uninitialized value" warningGiovanni Bechis2020-03-231-1/+6
| | | | | | | bz 63307 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875534 13f79535-47bb-0310-9956-ffa450edef68