summaryrefslogtreecommitdiffstats
path: root/support (follow)
Commit message (Collapse)AuthorAgeFilesLines
* block bcrypt on EBCDIC -- lots of ascii-isms in apr-util's bcrypt.Eric Covener2015-10-251-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-141-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
* Ensure that min/max valid timestamps (milliseconds since the epoch)Jeff Trawick2014-05-151-1/+8
| | | | | | | | make sense: no negative numbers, and require an input of "-" instead of "0" to indicate that the timestamp isn't being provided. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1595034 13f79535-47bb-0310-9956-ffa450edef68
* Add module mod_ssl_ct, which provides an implementation of CertificateJeff Trawick2014-04-213-1/+474
| | | | | | | | | | | | | | | Transparency (RFC 6962) for httpd. mod_ssl_ct requires OpenSSL 1.0.2 (in beta) and must be explicitly enabled via configure. Note that support/ctauditscts is purposefully not installed; it does not properly function due to a dependency on a certificate-transparency open source project tool which itself is not sufficiently complete at this time. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1588987 13f79535-47bb-0310-9956-ffa450edef68
* * support/rotatelogs.c (main): Prevent creation of zombies fromJoe Orton2014-04-141-0/+5
| | | | | | | post-rotate programs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1587255 13f79535-47bb-0310-9956-ffa450edef68
* * support/ab.c: Revert accidental version bump in r1580928.Joe Orton2014-03-241-1/+1
| | | | | | | | (Although it seems likely this *should* have been bumped sometime since 2006?) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1580935 13f79535-47bb-0310-9956-ffa450edef68
* * support/ab.c (write_request): Avoid redundant write(,,0) precedingJoe Orton2014-03-241-1/+2
| | | | | | | the write() of the request. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1580928 13f79535-47bb-0310-9956-ffa450edef68
* follow-up to r1542533:Jeff Trawick2013-11-181-1/+2
| | | | | | | fix format string (unsigned vs. size_t) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1543020 13f79535-47bb-0310-9956-ffa450edef68
* Check all memory allocations and abort on failureStefan Fritsch2013-11-161-22/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1542533 13f79535-47bb-0310-9956-ffa450edef68
* more apr_file_write_full() simplification (like r1542413)Jeff Trawick2013-11-152-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1542416 13f79535-47bb-0310-9956-ffa450edef68
* * support/rotatelogs.c: Introduce an adjusted_time_t type to store theJoe Orton2013-10-311-11/+17
| | | | | | | | | | weird "adjusted time since epoch" type returned by get_now(). Switch from int to long to fix an unnecessary Y2K38 issue. Adjust use throughout and clean up other type issues. No functional change intended apart from fixing Y2K38. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1537718 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused APXS setting from template for generated MakefileJeff Trawick2013-10-251-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1535699 13f79535-47bb-0310-9956-ffa450edef68
* rotatelogs: Remove last constant length error buffer.Ben Reser2013-10-231-18/+20
| | | | | | | | | | | | | | | * support/rotatelogs.c (ERRMSGSZ): Remove. (rotate_status): Remove errbuff member. (truncate_and_write_error): Accept the error message as an argument. (doRotate): Shift the pool destruction slightly later and use it to generate the error message to pass truncate_and_write_error(). (main): In case of write errors create a pool to generate the error message, since the other pools available may never been freed. Adjust to pass message directly to truncate_and_write_error(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534914 13f79535-47bb-0310-9956-ffa450edef68
* rotatelogs: Remove another use of a consant length buffer for errors.Ben Reser2013-10-231-6/+4
| | | | | | | | | | * support/rotatelogs.c (doRotate): Use apr_psprintf() and %pm. Move the destruction of the pool after we're done with the error message so the error string stays allocated long enough. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534896 13f79535-47bb-0310-9956-ffa450edef68
* rotatelogs: Use apr_psprintf() with %pm instead of a constant length buffer forBen Reser2013-10-231-19/+17
| | | | | | | | | | | | errors. * support/rotatelogs.c (post_rotate, doRotate): Switch to using apr_psprintf() with %pm. Suggested by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534895 13f79535-47bb-0310-9956-ffa450edef68
* Add an option to autocreate directories to rotatelogs.Ben Reser2013-10-191-6/+33
| | | | | | | | | | | | | | | | | | | | | | | * support/rotatelogs.c (rotate_config): Remove const from szLogRoot since we'll be passing it to apr_filepath_merge. Add create_path member. (usage, dumpConfig): Update to reflect new -d option. (doRotate): Add code that knows how to create the directories a log file is going to go into. (main): Add the -d option and canonicalize the incoming path with apr_filepath_merge() so that the code in doRotate can work properly. * docs/man/rotatelogs.8, docs/manual/programs/rotatelogs.html.en: Update for -d option. PR: 46669 Submitted by: Philippe Lantin <plantin cobaltgroup.com> (which was actually a patch written by myself when I worked there) Tweaked by: breser (ported to trunk and changed option from -p to -d) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533810 13f79535-47bb-0310-9956-ffa450edef68
* * support/rotatelogs.c (get_now): Fix the NULL ptr dereferences Joe Orton2013-10-151-3/+7
| | | | | | | added in r1532281. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1532289 13f79535-47bb-0310-9956-ffa450edef68
* * support/rotatelogs.c (get_now): Return the offset applied to theJoe Orton2013-10-151-14/+26
| | | | | | | | | | Unix time as a parameter. (doRotate): When exploding the time for strtfime formatting, iff in -l mode, subtract the offset and explode the real Unix time as a local time so %Z etc works correctly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1532281 13f79535-47bb-0310-9956-ffa450edef68
* fcgistarter: Specify SO_REUSEADDR to allow starting a serverJeff Trawick2013-08-181-0/+5
| | | | | | | with old connections in TIME_WAIT. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1515050 13f79535-47bb-0310-9956-ffa450edef68
* ab: Fix potential buffer overflows when processing the T and XJeff Trawick2013-08-051-8/+6
| | | | | | | | | | | command-line options. PR: 55360 Submitted by: Mike Rumph <mike.rumph oracle.com> Reviewed by: trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1510707 13f79535-47bb-0310-9956-ffa450edef68
* Fix command line parsing. This was introduced in r1395253 when refactoring ↵Christophe Jaillet2013-07-161-1/+1
| | | | | | | | | the code. Untested PR 55264 <jrhett netconsonance com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1503866 13f79535-47bb-0310-9956-ffa450edef68
* Make MSVC compilers happy.Guenter Knauf2013-06-181-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1494317 13f79535-47bb-0310-9956-ffa450edef68
* don't truncate the very first file opened (unless the truncate flag is there ↵Eric Covener2013-06-071-1/+1
| | | | | | too) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1490761 13f79535-47bb-0310-9956-ffa450edef68
* Fix commit 1465115. Christophe Jaillet2013-06-071-1/+0
| | | | | | truncpw was allocated from a pool and not via malloc git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1490507 13f79535-47bb-0310-9956-ffa450edef68
* rotatelogs: add -n number-of-files option to roate through a numberEric Covener2013-06-071-5/+34
| | | | | | | | | of fixed-name logfiles. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1490493 13f79535-47bb-0310-9956-ffa450edef68
* Add a new -l parameter in order not to check the length of the responses. ↵Christophe Jaillet2013-06-021-7/+20
| | | | | | | | This can be usefull with dynamic pages. PR9945, PR27888, PR42040 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1488644 13f79535-47bb-0310-9956-ffa450edef68
* Added header protection.Guenter Knauf2013-06-011-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1488496 13f79535-47bb-0310-9956-ffa450edef68
* Check if malloc succeededChristophe Jaillet2013-06-011-0/+4
| | | | | | PR54344 [Bill Parker, wp02855 gmail com] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1488492 13f79535-47bb-0310-9956-ffa450edef68
* 3rd patch from PR45355Christophe Jaillet2013-06-011-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1488471 13f79535-47bb-0310-9956-ffa450edef68
* Fixed include for Windows.Guenter Knauf2013-05-131-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1481677 13f79535-47bb-0310-9956-ffa450edef68
* htdigest: Fix buffer overflow when reading digestRainer Jung2013-04-251-1/+4
| | | | | | | | | password file with very long lines. PR 54893. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1475878 13f79535-47bb-0310-9956-ffa450edef68
* htpasswd: Add -v option to verify a passwordStefan Fritsch2013-04-053-48/+106
| | | | | | | htpasswd and htdbm could use some more refactoring... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1465116 13f79535-47bb-0310-9956-ffa450edef68
* fix htpasswd/htdbm brown paper bag bugsStefan Fritsch2013-04-052-19/+15
| | | | | | | | | | - use the correct string to generate the hash from. PR 54735 - print error message instead of empty string while there, replace strdup + check for oom with apr_pstrdup git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1465115 13f79535-47bb-0310-9956-ffa450edef68