summaryrefslogtreecommitdiff
path: root/tests/libtest/lib506.c
Commit message (Collapse)AuthorAgeFilesLines
* cookies: using a share with cookies shouldn't enable the cookie engineDaniel Stenberg2019-09-281-1/+2
| | | | | | | | | | | | | | | | | The 'share object' only sets the storage area for cookies. The "cookie engine" still needs to be enabled or activated using the normal cookie options. This caused the curl command line tool to accidentally use cookies without having been told to, since curl switched to using shared cookies in 7.66.0. Test 1166 verifies Updated test 506 Fixes #4429 Closes #4434
* whitespace fixesViktor Szakats2018-09-231-1/+0
| | | | | | | | | | | - replace tabs with spaces where possible - remove line ending spaces - remove double/triple newlines at EOF - fix a non-UTF-8 character - cleanup a few indentations/line continuations in manual examples Closes https://github.com/curl/curl/pull/3037
* cppcheck: fix warningsMarian Klymov2018-06-111-1/+1
| | | | | | | | | | | | | - Get rid of variable that was generating false positive warning (unitialized) - Fix issues in tests - Reduce scope of several variables all over etc Closes #2631
* code style: use spaces around equals signsDaniel Stenberg2017-09-111-4/+4
|
* tests: fix -Wcast-qual warningsMarcel Raad2017-05-051-2/+2
| | | | Avoid casting string literals to non-const char *.
* lib506: fix build for Open WatcomJiří Malák2017-01-081-6/+6
| | | | | | Rename symbol lock to locks to not clash with OW CRTL function name. Closes #1196
* checksrc: warn for assignments within if() expressionsDaniel Stenberg2016-12-141-4/+8
| | | | | ... they're already frowned upon in our source code style guide, this now enforces the rule harder.
* checksrc: stricter no-space-before-paren enforcementDaniel Stenberg2016-12-131-2/+2
| | | | In order to make the code style more uniform everywhere
* code: style updatesDaniel Stenberg2016-04-031-3/+3
|
* tests/libtest: follow our code style guidelines betterDaniel Stenberg2016-04-031-107/+104
| | | | ... checksrc of all test code is pending.
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* libtest: fixed linker errors on msvcSergei Nikulov2015-03-031-3/+0
| | | | Bug: https://github.com/bagder/curl/pull/144
* cookies: Improved OOM handling in cookiesDan Fandrich2014-12-091-6/+4
| | | | | | This fixes the test 506 torture test. The internal cookie API really ought to be improved to separate cookie parsing errors (which may be ignored) with OOM errors (which should be fatal).
* test506: Fixed a couple of memory leaks in testDan Fandrich2014-09-261-9/+9
|
* CURLOPT_COOKIELIST: Added "RELOAD" commandYousuke Kimoto2014-09-251-0/+50
|
* test506: verify aa6884845168Daniel Stenberg2014-07-161-1/+27
| | | | | After the fixed cookie lock deadlock, this test now passes and it detects double-locking and double-unlocking of mutexes.
* lib506.c: Fixed possible use of uninitialized variablesMarc Hoersken2013-07-011-4/+7
|
* test506: verify that CURLOPT_COOKIELIST takes share lockBenjamin Gilbert2013-06-171-0/+28
| | | | It doesn't right now: http://curl.haxx.se/bug/view.cgi?id=1215
* Revert changes relative to lib/*.[ch] recent renamingYang Tse2013-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts renaming and usage of lib/*.h header files done 28-12-2012, reverting 2 commits: f871de0... build: make use of 76 lib/*.h renamed files ffd8e12... build: rename 76 lib/*.h files This also reverts removal of redundant include guard (redundant thanks to changes in above commits) done 2-12-2013, reverting 1 commit: c087374... curl_setup.h: remove redundant include guard This also reverts renaming and usage of lib/*.c source files done 3-12-2013, reverting 3 commits: 13606bb... build: make use of 93 lib/*.c renamed files 5b6e792... build: rename 93 lib/*.c files 7d83dff... build: commit 13606bbfde follow-up 1 Start of related discussion thread: http://curl.haxx.se/mail/lib-2013-01/0012.html Asking for confirmation on pushing this revertion commit: http://curl.haxx.se/mail/lib-2013-01/0048.html Confirmation summary: http://curl.haxx.se/mail/lib-2013-01/0079.html NOTICE: The list of 2 files that have been modified by other intermixed commits, while renamed, and also by at least one of the 6 commits this one reverts follows below. These 2 files will exhibit a hole in history unless git's '--follow' option is used when viewing logs. lib/curl_imap.h lib/curl_smtp.h
* build: make use of 76 lib/*.h renamed filesYang Tse2012-12-281-1/+1
| | | | | | 76 private header files renamed to use our standard naming scheme. This change affects 322 files in libcurl's source tree.
* test suite: libtest header inclusion cleanupYang Tse2011-09-061-2/+0
| | | | | Added missing memoryTracking to test cases 560 and 583. If this triggers leak detection on these, it only means that previously it was going unnoticed.
* errno.h inclusion conditionally done in setup_once.hYang Tse2011-07-241-1/+0
|
* sources: update source headersDaniel Stenberg2011-03-101-3/+15
| | | | | | All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* Addes OOM handling for curl_easy_setopt() calls in testYang Tse2010-02-051-4/+6
|
* Fixes for non-ASCII platforms by David McCreedyYang Tse2009-05-081-1/+1
|
* include "memdebug.h"Yang Tse2008-09-201-0/+2
|
* fix compiler warning: external definition with no prior declarationYang Tse2008-09-181-2/+2
|
* Changed the test data file so it passes an XML syntax checkDan Fandrich2008-09-151-2/+2
|
* add comment for include pathsYang Tse2008-07-151-1/+1
|
* Made sure to pass longs in to curl_easy_setopt where necessary in theDan Fandrich2008-05-221-1/+1
| | | | libtest code.
* Michal Marek's cleanup of how curl_easy_setopt() is used in examples andDaniel Stenberg2008-02-271-4/+4
| | | | test code. Thanks to his curl_easy_setopt() typechecker work...
* Enabled a few more gcc warnings with --enable-debug. Renamed a fewDan Fandrich2007-09-271-2/+2
| | | | variables to avoid shadowing global declarations.
* Implemented only the parts of Patrick Monnerat's OS/400 patch that renamedDan Fandrich2007-07-231-14/+7
| | | | | some few internal identifiers to avoid conflicts, which could be useful on other platforms.
* Constify argument to suburl(). Remove trailing space.Gisle Vanem2007-02-041-14/+14
|
* Add project notice and file IdYang Tse2006-10-251-0/+10
|
* Use curl_global_init() and curl_global_cleanup().Yang Tse2006-10-251-5/+24
| | | | Improve cleanup in case of initialization failure.
* Fix compiler warning "enumerated type mixed with another type"Yang Tse2006-07-171-10/+24
|
* clean up properly on failure to enable easier libcurl leak detectionDaniel Stenberg2004-05-141-5/+11
|
* simplied the creation of new urlsDaniel Stenberg2004-05-061-13/+7
|
* minor edits to make picky compilers whine lessDaniel Stenberg2004-03-231-6/+5
|
* typecast to int when printfing CURLcodeDaniel Stenberg2004-02-251-1/+1
|
* provide protos to the functions to prevent warningsDaniel Stenberg2004-02-191-0/+6
|
* return an intDaniel Stenberg2004-02-131-1/+1
|
* Uninitialized variable set.Daniel Stenberg2004-02-091-1/+1
|
* changed the test() function to return type intDaniel Stenberg2004-02-051-1/+1
|
* modified and corrected test 506Daniel Stenberg2003-12-161-7/+21
|
* test case 506 added, written by Dirk ManskeDaniel Stenberg2003-08-111-0/+210