summaryrefslogtreecommitdiff
path: root/support
Commit message (Collapse)AuthorAgeFilesLines
...
* copy applink.c in OpenSSL 1.1.0 to from /ms to /include to match location in ↵Gregg Lewis Smith2018-01-211-0/+27
| | | | | | 1.0.2 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821766 13f79535-47bb-0310-9956-ffa450edef68
* * support/Makefile.in, acinclude.m4: Add OpenSSL libraries at the end of theJoe Orton2017-11-281-2/+2
| | | | | | | ab link line, not the start. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1816534 13f79535-47bb-0310-9956-ffa450edef68
* ab: follow up to r1811664.Yann Ylavic2017-11-021-5/+3
| | | | | | | | | apr_socket_send() can return both an error and data, account for data in the latter case (i.e. let next call fail, if any). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1814118 13f79535-47bb-0310-9956-ffa450edef68
* * support/htpasswd.c (main): Only check for readability if running inJoe Orton2017-10-201-1/+11
| | | | | | | | | verify (-v) mode. PR: 61631 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1812756 13f79535-47bb-0310-9956-ffa450edef68
* ab: Make the TLS layer aware that the underlying socket is nonblocking,Yann Ylavic2017-10-101-18/+49
| | | | | | | | | and use/handle POLLOUT where needed to avoid busy IOs and recover write errors when appropriate. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1811664 13f79535-47bb-0310-9956-ffa450edef68
* ab: Keep reading nonblocking to exhaust TCP or SSL buffers when previousYann Ylavic2017-10-101-0/+5
| | | | | | | | | read was incomplete (the SSL case can cause the next poll() to timeout since data are buffered already). PR 61301 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1811649 13f79535-47bb-0310-9956-ffa450edef68
* htdigest: prevent buffer overflow when strings in lines are too long.Luca Toscano2017-09-111-7/+17
| | | | | | | | | Reported by: Hanno Böck PR: 61511 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808008 13f79535-47bb-0310-9956-ffa450edef68
* mod_ssl, ab: compatibility with LibreSSL. PR 61184.Yann Ylavic2017-07-291-0/+8
| | | | | | | | | | | | | | | LibreSSL defines OPENSSL_VERSION_NUMBER = 2.0, but is not compatible with all of the latest OpenSSL 1.1 API. Address this by defining MODSSL_USE_OPENSSL_PRE_1_1_API which is true for anything but OpenSSL >= 1.1 (for now). Proposed by: Bernard Spil <brnrd freebsd.org> Reviewed by: ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1803396 13f79535-47bb-0310-9956-ffa450edef68
* * Do not apply the strict permissions of the temporary file to a possiblyRuediger Pluem2017-07-032-2/+2
| | | | | | | | | | existing passwd file. This long standing bug was triggered by fixing a bug in APR in r1791029. PR: 61240 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1800594 13f79535-47bb-0310-9956-ffa450edef68
* ab: move option processing for setting a customRainer Jung2017-05-281-4/+4
| | | | | | | HTTP method outside of the HTTPS only handling. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1796493 13f79535-47bb-0310-9956-ffa450edef68
* ab: don't call malloc_init for OpenSSL 1.1.0Jacob Champion2017-05-221-2/+0
| | | | | | | | | | | | | | | Patch by rjung. The 1.1.0 compatibility macro for OpenSSL_malloc_init() causes problems when mixed with procedure linkage stubs with some toolchains (e.g. GCC). OpenSSL's malloc implementation doesn't recognize that the PLT stub points back to it, which leads to infinite recursion. Since the 1.1.0 documentation states that calling this function explicitly is no longer necessary except "in certain shared-library situations"(?), get rid of it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1795830 13f79535-47bb-0310-9956-ffa450edef68
* htpasswd: report the right limit when get_password() overflows.Yann Ylavic2017-02-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1781516 13f79535-47bb-0310-9956-ffa450edef68
* htpasswd: don't point to (unused) stack memory on outputYann Ylavic2017-02-031-2/+7
| | | | | | | | | to make static analysers happy. PR 60634. Reported by shqking and Zhenwei Zou. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1781509 13f79535-47bb-0310-9956-ffa450edef68
* rotatelogs: fix -n help textEric Covener2017-01-261-1/+1
| | | | | | | | | | this closes #24 Submitted By: Isaac Boukris <iboukris gmail.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1780308 13f79535-47bb-0310-9956-ffa450edef68
* Fix spelling in comments and text files.Rainer Jung2016-08-114-6/+6
| | | | | | | | No functional change. PR 59990 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756038 13f79535-47bb-0310-9956-ffa450edef68
* ab: follow up to r1750854: still better naming, and a C89 fix.Yann Ylavic2016-07-011-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1750960 13f79535-47bb-0310-9956-ffa450edef68
* ab: follow up to r1750854: some comments and better naming.Yann Ylavic2016-07-011-10/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1750955 13f79535-47bb-0310-9956-ffa450edef68
* ab: follow up to r1750854.Yann Ylavic2016-07-011-16/+25
| | | | | | Use SNI when available by default, and invert -I logic to now disable it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1750947 13f79535-47bb-0310-9956-ffa450edef68
* ab: follow up to r1750854: put the -I at the right place for apr_getopt().Yann Ylavic2016-06-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1750855 13f79535-47bb-0310-9956-ffa450edef68
* ab: add SNI support when available.Yann Ylavic2016-06-301-2/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1750854 13f79535-47bb-0310-9956-ffa450edef68
* Prepare to backport, this is not specific to VS 2015...William A. Rowe Jr2016-06-141-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1748448 13f79535-47bb-0310-9956-ffa450edef68
* Fix comment typoStefan Fritsch2016-05-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1745864 13f79535-47bb-0310-9956-ffa450edef68
* Fix segfault with logresolve -c and IPv6Stefan Fritsch2016-05-281-1/+1
| | | | | | | | | Due to a logic error, there could be a NULL pointer dereference. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823259 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1745863 13f79535-47bb-0310-9956-ffa450edef68
* PR59630: include OpenSSL_Applink when compiling on Visual Studio 2015 and upGregg Lewis Smith2016-05-271-0/+4
| | | | | | | | Submitted By: Jan Ehrhardt <phpdev ehrhardt.nl> Committed By: gsmith git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1745767 13f79535-47bb-0310-9956-ffa450edef68
* _setargv will not compile on _MSC_VER > 1700 MS documentation's example ↵Gregg Lewis Smith2016-05-251-0/+2
| | | | | | simply does not work. Disabe for now, Apachemonitor still works. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1745516 13f79535-47bb-0310-9956-ffa450edef68
* ab: follow up to r1738415: EC_curve_nid2nist() available in OpenSSL-1.0.2 ↵Yann Ylavic2016-04-291-1/+3
| | | | | | and later. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1741566 13f79535-47bb-0310-9956-ffa450edef68
* print Server Temp Key information.Jean-Frederic Clere2016-04-101-0/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1738415 13f79535-47bb-0310-9956-ffa450edef68
* Support for OpenSSL 1.1.0:Rainer Jung2016-03-201-2/+38
| | | | | | | | | | - ab: use new API SSL_CTX_set_max_proto_version() and SSL_CTX_set_min_proto_version() in combination with TLS_client_method() instead of the old deprecated methods. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1735891 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1734817: suexec passes through mod_include's DOCUMENT_ARGSJeff Trawick2016-03-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1734955 13f79535-47bb-0310-9956-ffa450edef68
* ab: Use caseless matching for HTTP tokens (e.g. content-length).Yann Ylavic2016-03-041-14/+42
| | | | | | PR 59111. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1733537 13f79535-47bb-0310-9956-ffa450edef68
* Support for OpenSSL 1.1.0Rainer Jung2016-02-071-0/+6
| | | | | | | - ab git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1728907 13f79535-47bb-0310-9956-ffa450edef68
* block bcrypt on EBCDIC -- lots of ascii-isms in apr-util's bcrypt.Eric Covener2015-10-241-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710403 13f79535-47bb-0310-9956-ffa450edef68
* Support compilation against libssl built with OPENSSL_NO_SSL3,Kaspar Brand2015-09-191-1/+9
| | | | | | | | and change the compiled-in default for SSL[Proxy]Protocol to "all -SSLv3", in accordance with RFC 7568. PR 58349, PR 57120. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1703952 13f79535-47bb-0310-9956-ffa450edef68
* Silence a sparse warning about inconsistent indenting + some minor style issuesChristophe Jaillet2015-08-311-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700338 13f79535-47bb-0310-9956-ffa450edef68
* Silence a sparse warning about inconsistent indentingChristophe Jaillet2015-08-311-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700322 13f79535-47bb-0310-9956-ffa450edef68
* Silence a sparse warning about inconsistent indentingChristophe Jaillet2015-08-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700321 13f79535-47bb-0310-9956-ffa450edef68
* Silence a sparse warning about inconsistent indentingChristophe Jaillet2015-08-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700320 13f79535-47bb-0310-9956-ffa450edef68
* The increased use of UuidCreate() in APR 1.5.2+ introduces an unresolved Gregg Lewis Smith2015-04-297-28/+28
| | | | | | | | | reference to UuidCreate() to these support applications that link with apr-1.lib and do not already link rpcrt4.lib. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1676654 13f79535-47bb-0310-9956-ffa450edef68
* tab vs spaceChristophe Jaillet2015-04-171-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1674214 13f79535-47bb-0310-9956-ffa450edef68
* Choose "-D" instead of "-d" for the rotatelogsRainer Jung2015-03-131-6/+6
| | | | | | | | | | | | | | option that creates the path to the log file. I want to use "-d" for another directory related option next where (I think) the "directory" "d" makes more sense. "-d" has not yet been backported, so changing to "-D" is not a real compatibility issue. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1666417 13f79535-47bb-0310-9956-ffa450edef68
* Small changes to rotatelogs:Rainer Jung2015-03-131-3/+4
| | | | | | | | | | | | - add "-n num" to help text - clarify in help text, that "program is invoked" is the "-p" case - prevent crash with "-v" (verbose) if no "-p prog" is used - add one space for formatting git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1666415 13f79535-47bb-0310-9956-ffa450edef68
* ab: Add missing longest request (100%) to CSV export.Yann Ylavic2015-02-241-1/+1
| | | | | | | | Submitted by: Marcin Fabrykowski <bugzilla fabrykowski.pl> Committed by: ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1661913 13f79535-47bb-0310-9956-ffa450edef68
* suexec: Filter out HTTP_PROXYStefan Fritsch2015-02-131-1/+15
| | | | | | | Some programs look there for the http proxy server. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1659711 13f79535-47bb-0310-9956-ffa450edef68
* split-logfile: Fix perl error: 'Can't use string ("example.org:80") Eric Covener2014-12-311-5/+4
| | | | | | | | | | | | as a symbol ref while "strict refs"'. PR 56329. Submitted By: Holger Mauermann <mauermann gmail.com> Committed By: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1648719 13f79535-47bb-0310-9956-ffa450edef68
* ab: Use only one connection to determine working destination socket address.Jan Kaluža2014-09-301-5/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1628388 13f79535-47bb-0310-9956-ffa450edef68
* ab: try all destination socket addresses returned by apr_sockaddr_info_getJan Kaluža2014-09-231-10/+34
| | | | | | | instead of failing on first one when not available. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1626956 13f79535-47bb-0310-9956-ffa450edef68
* ab: increase request and response header size to 8192 bytes,Jan Kaluža2014-09-041-4/+6
| | | | | | | fix potential buffer-overflow in Server: header handling. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1622450 13f79535-47bb-0310-9956-ffa450edef68
* * support/ab.c: Fix crash caused by integer overflow when printing stats withJan Kaluža2014-08-141-2/+2
| | | | | | | lot of requests (for example -n 500000000). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1617913 13f79535-47bb-0310-9956-ffa450edef68
* Remove some 'register' in variable declaration.Christophe Jaillet2014-07-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610366 13f79535-47bb-0310-9956-ffa450edef68
* ab: support custom HTTP method with -m argument. PR 56604.Yann Ylavic2014-06-071-4/+9
| | | | | | | | | | Example: ab -n 1 -m PING http://127.0.0.1/ Submitted By: Roman Jurkov <winfinit gmail com> Committed By: ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1601076 13f79535-47bb-0310-9956-ffa450edef68