summaryrefslogtreecommitdiffstats
path: root/.gdbinit (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-01-25ab: Respond appropriately to SSL_ERROR_WANT_READ and SSL_ERROR_WANT_WRITE.Graham Leggett2-43/+85
Previously the correct event was polled for, but the response to the poll would call write instead of read, and read instead of write. PR 55952 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897458 13f79535-47bb-0310-9956-ffa450edef68
2022-01-24Fixes ambiguos example, as per ↵Rich Bowen2-4/+6
https://bz.apache.org/bugzilla/show_bug.cgi?id=63714 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897425 13f79535-47bb-0310-9956-ffa450edef68
2022-01-24Begone, foul tabs.Graham Leggett2-7/+7
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897424 13f79535-47bb-0310-9956-ffa450edef68
2022-01-24event: Add AP_MPM_CAN_AGAIN and AGAIN to signal to the MPM thatGraham Leggett6-11/+23
non blocking behaviour is requested. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897423 13f79535-47bb-0310-9956-ffa450edef68
2022-01-24mod_reqtimeout: Set socket timeout for AP_MODE_INIT.Yann Ylavic2-2/+2
If the SSL handshake is initiated by ssl_hook_process_connection() in AP_MODE_INIT mode, we still want to adapt the socket timeout according to the time left for the handshake. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897422 13f79535-47bb-0310-9956-ffa450edef68
2022-01-24mod_ssl: Use AP_FILTER_ERROR to indicate when the SSL filter hasGraham Leggett2-2/+2
handled its own errors. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897418 13f79535-47bb-0310-9956-ffa450edef68
2022-01-24Revert stray modification in r1897336.Graham Leggett1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897408 13f79535-47bb-0310-9956-ffa450edef68
2022-01-23Add missing log message tag.Graham Leggett2-2/+2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897388 13f79535-47bb-0310-9956-ffa450edef68
2022-01-23mod_ssl: We no longer throw away handshake errors. Handle APR_EGENERALGraham Leggett2-2/+22
which means that mod_ssl has passed an http error down the stack. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897387 13f79535-47bb-0310-9956-ffa450edef68
2022-01-23ap_regex: Follow up to r1897240: cleanup PCRE2 match data on exit.Yann Ylavic1-4/+19
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897386 13f79535-47bb-0310-9956-ffa450edef68
2022-01-23event: Allow the MPM to explicitly handle CONN_SENSE_WANT_WRITE insteadGraham Leggett1-8/+13
of support being implicit. Pass the desired sense depending on the state, no longer default to write. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897385 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22mod_ssl: An edge case exists where SSL_read might return SSL_ERROR_WANT_READGraham Leggett1-12/+15
even in blocking BIO cases. Set guards so that an async MPM is not accessed at this point. There is no need to set non blocking, mod_ssl's BIO already knows how to do this. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897356 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22mod_ssl: Add the missing SSL_ERROR_WANT_WRITE case in the SSL_read. MakeGraham Leggett1-0/+24
sure the sense is correctly specified in response to SSL_ERROR_WANT_READ and SSL_ERROR_WANT_WRITE so we don't poll for the wrong case. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897353 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22Use OK status to match process_connection behaviour.Graham Leggett1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897352 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22Shutdown immediately on read timeout.Graham Leggett1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897351 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22fr doc rebuild.Lucien Gentis8-14/+10
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897340 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22fr doc XML files updates.Lucien Gentis2-8/+7
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897339 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22When failing, we need to explicitly set the connection state.Graham Leggett2-2/+5
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897336 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22APR 1.3 is a requirement for building httpd 2.4 and above.Christophe Jaillet1-7/+1
So this compatibility test can be removed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897329 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22APR (and APR-util) 1.3 is a requirement for building httpd 2.4 and above.Christophe Jaillet1-4/+2
So these compatibility tests can be removed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897326 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22APR (and APR-util) 1.3 is a requirement for building httpd 2.4 and above.Christophe Jaillet1-13/+0
So these compatibility tests can be removed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897325 13f79535-47bb-0310-9956-ffa450edef68
2022-01-21Link to where to open a bug, as requested in Rich Bowen2-3/+5
https://bz.apache.org/bugzilla/show_bug.cgi?id=61218 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897302 13f79535-47bb-0310-9956-ffa450edef68
2022-01-21Removes link to long-gone website.Rich Bowen4-16/+7
Fixes https://bz.apache.org/bugzilla/show_bug.cgi?id=65651 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897300 13f79535-47bb-0310-9956-ffa450edef68
2022-01-21Patch from Vedran Miletić. Notes version when this is supported.Rich Bowen25-132/+144
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897297 13f79535-47bb-0310-9956-ffa450edef68
2022-01-21event: Add support for non blocking behaviour in theGraham Leggett7-22/+147
CONN_STATE_READ_REQUEST_LINE phase, in addition to the existing CONN_STATE_WRITE_COMPLETION phase. Update mod_ssl to perform non blocking TLS handshakes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897281 13f79535-47bb-0310-9956-ffa450edef68
2022-01-20Revert 1897156.Graham Leggett4-186/+20
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897273 13f79535-47bb-0310-9956-ffa450edef68
2022-01-20SEDERR_TMAMES and SEDERR_TMRMES are used only in sed1.c with 'eval->lnum' as ↵Christophe Jaillet1-2/+2
an argument. 'eval' is of type 'struct sed_eval_s' and 'lnum' is an apr_int64_t. So use APR_INT64_T_FMT format specifier to be more consistent. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897271 13f79535-47bb-0310-9956-ffa450edef68
2022-01-20The format specifier is APR_SIZE_T_FMT, so there is no point in trying to ↵Christophe Jaillet1-4/+2
log -1 if apr_file_read() fails, because size_t is unsigned. It is more straighforward to log the real value returned by apr_file_read() in such a case. The error code is also logged anyway. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897270 13f79535-47bb-0310-9956-ffa450edef68
2022-01-20mod_unixd: Make CoreDumpDirectory work for FreeBSD 11+. PR 65819.Yann Ylavic4-1/+21
FreeBSD 11+ coredumping requires tracing enabled via procctl(PROC_TRACE_CTL). Submitted by: David CARLIER <devnexen gmail.com> Reviewed by: ylavic (by inspection) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897269 13f79535-47bb-0310-9956-ffa450edef68
2022-01-20ap_regex: Follow up to r1897240: cleanups.Yann Ylavic1-21/+15
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897263 13f79535-47bb-0310-9956-ffa450edef68
2022-01-20ap_regex: Follow up to r1897240: no ap_thread_current() yet.Yann Ylavic1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897261 13f79535-47bb-0310-9956-ffa450edef68
2022-01-20ap_regex: Follow up to r1897240: runtime fallback to alloc/free.Yann Ylavic1-49/+69
Even though APR_HAS_THREAD_LOCAL is compiled in, ap_regexec() might still be called by non a apr_thread_t thread, let's fall back to alloc/free in this case too. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897260 13f79535-47bb-0310-9956-ffa450edef68
2022-01-20 *) test: Stefan Eissing6-33/+25
- modules/http2: ignore some SSL library error logs when using openssl 3.x - modules/tls: right now, we seem unable to force curl to use TLSv1.3, adjust test case expectations accordingly. Use --tls-max to force v1.2 where needed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897257 13f79535-47bb-0310-9956-ffa450edef68
2022-01-20ap_regex: Follow up to r1897240: Fix issues spotted by Rüdiger (thanks!).Yann Ylavic2-4/+6
#include "apr_thread_proc.h" is enough/needed by util_pcre.c and main.c. Fix compilation (vector => ovector) for !HAVE_PCRE2 && APR_HAS_THREAD_LOCAL. Check pcre2_match_data_create() return value for HAVE_PCRE2 && !APR_HAS_THREAD_LOCAL. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897250 13f79535-47bb-0310-9956-ffa450edef68
2022-01-20ap_regex: Follow up to r1897244: Fix pmatch overflow and returned value at ↵Yann Ylavic1-4/+2
limits. Don't write to pmatch[nlimit:] when ncaps > nlimit, rc should not exceed nmatch either as before r1897244. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897248 13f79535-47bb-0310-9956-ffa450edef68
2022-01-20ap_regex: PCRE needs buffers sized against the number of captures only.Yann Ylavic1-10/+10
No more (useless), no less (or PCRE will allocate a new buffer by itself to satisfy the needs), so we should base our buffer size solely on the number of captures in the regex (determined at compile time from the pattern). The nmatch provided by the user is used to fill in pmatch only (up to that), but "our" buffers are sized exactly as needed to avoid oversized allocations or PCRE allocating by itself. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897244 13f79535-47bb-0310-9956-ffa450edef68