summaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* httpdunit: merge CVE-2017-9788 regression tests from feature branchJacob Champion2017-07-151-0/+107
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1801998 13f79535-47bb-0310-9956-ffa450edef68
| * CVE-2017-9788: add unit tests for get_digest_rec()Jacob Champion2017-07-151-0/+107
| | | | | | | | | | | | | | Including the module source is a dirty hack, but maybe the direct way is best for now. More functional tests are still TODO. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpdunit@1801996 13f79535-47bb-0310-9956-ffa450edef68
* | util.c: add a strict Base64 decoding functionJacob Champion2017-06-211-0/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ap_pbase64decode_strict() adds to the functionality of ap_pbase64decode() in two ways: - the length of the decoded buffer is returned, allowing embedded NULLs to be retained by the caller - the input string is strictly checked for Base64 validity, including correct zero-padding at the end of the string (This was originally added to the httpdunit feature/backport branch in r1796208, then reverted in r1799376, since it's currently intended for trunk only.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1799380 13f79535-47bb-0310-9956-ffa450edef68
* | ap_get_basic_auth_components: add unit testsJacob Champion2017-06-211-0/+156
|/ | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1799379 13f79535-47bb-0310-9956-ffa450edef68
* ap_find_token: add unit testsJacob Champion2017-06-211-0/+88
| | | | | | Add previously embargoed test case for CVE-2017-7668. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpdunit@1799377 13f79535-47bb-0310-9956-ffa450edef68
* Revert new base64 function and testsJacob Champion2017-06-211-175/+0
| | | | | | This should be trunk-only, not part of the backport branch. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpdunit@1799376 13f79535-47bb-0310-9956-ffa450edef68
* util.c: add a strict Base64 decoding functionJacob Champion2017-05-251-0/+175
| | | | | | | | | | | | ap_pbase64decode_strict() adds to the functionality of ap_pbase64decode() in two ways: - the length of the decoded buffer is returned, allowing embedded NULLs to be retained by the caller - the input string is strictly checked for Base64 validity, including correct zero-padding at the end of the string git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpdunit@1796208 13f79535-47bb-0310-9956-ffa450edef68
* httpdunit: fix check.h on WindowsJacob Champion2017-05-252-0/+2
| | | | | | | | Check seems to have trouble with type definitions when using a CMake+Windows toolchain. Include apr.h before check.h to ensure pid_t exists. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpdunit@1796205 13f79535-47bb-0310-9956-ffa450edef68
* httpdunit: a Check-based unit test suiteJacob Champion2017-05-252-0/+153
| | | | | | | | | | | | | | | | | | | | Add a unit test suite based on Check: https://libcheck.github.io/check/ The suite depends on the build system to automatically generate the code stubs that call every test case. httpdunit is automatically enabled in the build if configure is able to find Check via pkg-config. At the moment pkg-config is the only official (non-deprecated) way to build and link against Check with an autoconf system, since platforms may distribute Check as a static library. Note that Check is an LGPL'd library, so we can't distribute test objects and binaries. Building and running the suite remains optional and is not required to run the server. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpdunit@1796202 13f79535-47bb-0310-9956-ffa450edef68
* Fix spelling in comments and text files.Rainer Jung2016-08-111-1/+1
| | | | | | | | No functional change. PR 59990 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756038 13f79535-47bb-0310-9956-ffa450edef68
* Testing SVN commitMike Rumph2014-02-031-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1563751 13f79535-47bb-0310-9956-ffa450edef68
* Testing SVN commit.Mike Rumph2014-02-021-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1563673 13f79535-47bb-0310-9956-ffa450edef68
* Change bzero/bcopy into memset/memcpyChristophe Jaillet2013-02-061-2/+2
| | | | | | PR 54346 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1442865 13f79535-47bb-0310-9956-ffa450edef68
* fix various property issuesAndré Malo2012-04-041-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1309567 13f79535-47bb-0310-9956-ffa450edef68
* Distinguish properly between the bindir and sbindir directories whenGraham Leggett2011-12-191-2/+2
| | | | | | | | installing binaries. Previously all binaries were silently installed to sbindir, whether they were system administration commands or not. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220846 13f79535-47bb-0310-9956-ffa450edef68
* Replace AcceptMutex, LockFile, RewriteLock, SSLMutex, SSLStaplingMutex,Jeff Trawick2009-11-241-2/+2
| | | | | | | | | | | | | and WatchdogMutexPath with a single Mutex directive. Add APIs to simplify setup and user customization of APR proc and global mutexes. (See util_mutex.h.) Build-time setting DEFAULT_LOCKFILE is no longer respected; set DEFAULT_REL_RUNTIMEDIR instead. Some existing modules, such as mod_ldap and mod_auth_digest gain configurability for their mutexes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@883540 13f79535-47bb-0310-9956-ffa450edef68
* make_sni.sh test -- Accomodate for platforms which do not have RANDOM in ↵Dirk-Willem van Gulik2009-03-241-4/+5
| | | | | | their sh(1) implementation - rely on the pid and a not so random prefix git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@757851 13f79535-47bb-0310-9956-ffa450edef68
* Add Joe Orton his SNI test case for client authenticationDirk-Willem van Gulik2008-04-221-2/+94
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@650575 13f79535-47bb-0310-9956-ffa450edef68
* Incorperate feedback/requests for a bit more flexibility: 1)allow any domain ↵Dirk-Willem van Gulik2008-04-171-12/+61
| | | | | | and IP address for the SNI demonstration and 2) make the index.html sample files a bit easier to recognize. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649043 13f79535-47bb-0310-9956-ffa450edef68
* More spelling/clarifications/depluralizing (and we know the name of the ↵Dirk-Willem van Gulik2008-02-111-4/+4
| | | | | | error log) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@620642 13f79535-47bb-0310-9956-ffa450edef68
* Clarify the text a little and use the vhost terminology.Dirk-Willem van Gulik2008-02-111-9/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@620635 13f79535-47bb-0310-9956-ffa450edef68
* Addition of a test script which creates a Sample/test configuration for ↵Dirk-Willem van Gulik2008-02-111-0/+253
| | | | | | | | | | | | | | installations that wants to support SNI. Primarily done as a lot of web developers find the creation of certificates hard - and do not want to go to the expense of sourcing a handful from a well-known CA just for testing and experimenting. Also update the CHANGES log with the word 'SNI' as to make googling it easier. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@620630 13f79535-47bb-0310-9956-ffa450edef68
* update license header textRoy T. Fielding2006-07-111-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420993 13f79535-47bb-0310-9956-ffa450edef68
* update license header textRoy T. Fielding2006-07-116-36/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420983 13f79535-47bb-0310-9956-ffa450edef68
* remove test/zb.cThom May2006-05-091-567/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@405400 13f79535-47bb-0310-9956-ffa450edef68
* Update the last year of copyright.Colm MacCarthaigh2006-04-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395229 13f79535-47bb-0310-9956-ffa450edef68
* Update the copyright year in all .c, .h and .xml filesColm MacCarthaigh2006-04-196-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395228 13f79535-47bb-0310-9956-ffa450edef68
* No functional change: remove "internal" tab spacing/formatting.Jim Jagielski2005-11-163-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345053 13f79535-47bb-0310-9956-ffa450edef68
* No functional Change: Removing trailing whitespace. This alsoJim Jagielski2005-11-106-68/+68
| | | | | | | | means that "blank" lines consisting of just spaces or tabs are now really blank lines git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332306 13f79535-47bb-0310-9956-ffa450edef68
* No functional change: simple detabbing of indented code.Jim Jagielski2005-11-104-247/+247
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332305 13f79535-47bb-0310-9956-ffa450edef68
* Update remaining 2004 copyright notices.Joe Orton2005-06-141-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@190592 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.Justin Erenkrantz2005-02-046-6/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
* "transfered" is not a word.Cliff Woolley2004-12-141-2/+2
| | | | | | | | s/transfered/transferred/g; git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111858 13f79535-47bb-0310-9956-ffa450edef68
* Remove the .cvsignore files.Joe Orton2004-11-191-16/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105796 13f79535-47bb-0310-9956-ffa450edef68
* fix name of The Apache Software FoundationAndré Malo2004-02-097-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102619 13f79535-47bb-0310-9956-ffa450edef68
* fix copyright dates accorsding to the first check inAndré Malo2004-02-086-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102593 13f79535-47bb-0310-9956-ffa450edef68
* apply Apache License, Version 2.0André Malo2004-02-077-1/+106
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102526 13f79535-47bb-0310-9956-ffa450edef68
* [Porting] Include <sys/mutex.h> if available, to get lock_t typedef for ↵Martin Kraemer2003-05-281-0/+3
| | | | | | using <sys/shm.h> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100070 13f79535-47bb-0310-9956-ffa450edef68
* Continue the Bill Rowe apr_size_t crusade.Victor J. Orlikowski2002-07-102-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95993 13f79535-47bb-0310-9956-ffa450edef68
* Not really sure what this is, but it wasn't aprized. back out rev 1.2William A. Rowe Jr2002-06-231-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95861 13f79535-47bb-0310-9956-ffa450edef68
* Adapt to use apr_ischar()William A. Rowe Jr2002-06-231-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95860 13f79535-47bb-0310-9956-ffa450edef68
* rules.mk is stored in $(top_blddir). Without this change, VPATH buildsRyan Bloom2001-09-131-1/+1
| | | | | | | stop working. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91017 13f79535-47bb-0310-9956-ffa450edef68
* Use the full path for libraries. (This has been in my tree for ages...)David Reid2001-08-311-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90843 13f79535-47bb-0310-9956-ffa450edef68
* get rid of util_date.c/util_date.h and associated test programJeff Trawick2001-06-061-180/+0
| | | | | | | test_date.c git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89278 13f79535-47bb-0310-9956-ffa450edef68
* Change the make targets and rules to be consistent in all of theRoy T. Fielding2001-05-181-1/+1
| | | | | | | Apache-owned source trees. Sanity is a good thing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89140 13f79535-47bb-0310-9956-ffa450edef68
* renaming various functions for consistency sakeDoug MacEachern2001-02-082-2/+2
| | | | | | | | | | | see: http://apr.apache.org/~dougm/apr_rename.pl PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88019 13f79535-47bb-0310-9956-ffa450edef68
* Libtool takes care of the lib prefix so get rid of our own workaround.Brian Havard2001-01-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87639 13f79535-47bb-0310-9956-ffa450edef68
* remove building of the dbu test proggieGreg Stein2000-12-091-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87268 13f79535-47bb-0310-9956-ffa450edef68
* Moved to apr-util/testWilliam A. Rowe Jr2000-12-081-321/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87264 13f79535-47bb-0310-9956-ffa450edef68
* *) top-level: build our base libraries (srclib) first since these (byGreg Stein2000-12-071-1/+6
| | | | | | | | | | | | | | definition) have no dependencies on anything else. this will also ensure that we have *.exports available for building server/ *) add the "test" SUBDIR back in so that it gets called for "make clean" and other types of make targets. *) revise test/Makefile.in so that it does not build any test programs by default. add "make test" to build any/all test programs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87250 13f79535-47bb-0310-9956-ffa450edef68