summaryrefslogtreecommitdiff
path: root/tests/libtest/lib517.c
Commit message (Collapse)AuthorAgeFilesLines
* parsedate: support UT timezoneNikos Tsipinakis2018-03-191-0/+1
| | | | | | | RFC822 section 5.2 mentions Universal Time, 'UT', to be synonymous with GMT. Closes #2401
* lib517: make variable static to avoid compiler warningDaniel Stenberg2018-01-261-1/+1
| | | | ... with clang on macos
* parsedate: fix date parsing for systems with 32 bit longDaniel Stenberg2018-01-251-102/+126
| | | | | | | | | | | Make curl_getdate() handle dates before 1970 as well (returning negative values). Make test 517 test dates for 64 bit time_t. This fixes bug (3) mentioned in #2238 Closes #2250
* code style: use spaces around equals signsDaniel Stenberg2017-09-111-2/+2
|
* parsedate: handle cut off numbers betterDaniel Stenberg2016-10-311-1/+7
| | | | | | | | | ... and don't read outside of the given buffer! CVE-2016-8621 bug: https://curl.haxx.se/docs/adv_20161102G.html Reported-by: Luật Nguyễn
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* 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.
* Added a leap second test to test517Dan Fandrich2011-06-231-1/+2
|
* parsedate: detect more invalid dates betterDaniel Stenberg2011-06-231-1/+5
|
* 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.
* parsedate: allow time specified without secondsDaniel Stenberg2010-09-271-0/+2
| | | | | | | | | The date format in RFC822 allows that the seconds part of HH:MM:SS is left out, but this function didn't allow it. This change also includes a modified test case that makes sure that this now works. Reported by: Matt Ford Bug: http://curl.haxx.se/bug/view.cgi?id=3076529
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* disable the tests that differ between 32 and 64 bitDaniel Stenberg2009-08-271-0/+5
|
* Added a range of new fun date strings to try. This set of dates come from aDaniel Stenberg2009-08-121-0/+55
| | | | | | | | mail posted to the http-state mailing list, from Adam Barth, and is said to be the set of date formats the Chrome browser code is tested against: http://www.ietf.org/mail-archive/web/http-state/current/msg00129.html libcurl parses most of them identically, but not all of them.
* include "memdebug.h"Yang Tse2008-09-201-0/+2
|
* fix compiler warning: external definition with no prior declarationYang Tse2008-09-181-1/+1
|
* Stefan Krause's mail to curl-library at 03 Sep 2008 made me add these twoDaniel Stenberg2008-09-051-0/+2
| | | | new date strings to get tested too.
* Add project notice and file IdYang Tse2006-10-251-0/+10
|
* skip the test of "2094 Nov 6" for now, since the 64bit time_t systems returnDaniel Stenberg2005-03-091-1/+1
| | | | different values for it...
* added test case 517: 22 tests of the curl_getdate() functionDaniel Stenberg2004-11-151-0/+41