Commit Graph

4019 Commits

Author SHA1 Message Date
Daniel Stenberg
a717afc3a7 gmtime() really can't even return NULL, can it? 2003-10-31 21:43:22 +00:00
Daniel Stenberg
f023b4cc79 back to GMT again 2003-10-31 21:37:03 +00:00
Daniel Stenberg
a7aacac5e8 assume that MDTM returns the timestamp as UTC 2003-10-31 21:36:43 +00:00
Daniel Stenberg
decdb93ccb my own system had a bad valgrind, so check that it works at least somewhat
before we use it
2003-10-31 21:34:39 +00:00
Daniel Stenberg
3e24c6a957 Debian bug report #218046, a minor typo. 2003-10-31 18:43:12 +00:00
Daniel Stenberg
00d2c9d92d removed compiler warnings from my latest fix 2003-10-31 09:49:10 +00:00
Daniel Stenberg
bd383f0c60 numerical options check 2003-10-31 09:27:15 +00:00
Daniel Stenberg
900cecae96 Added a new parse-numeric-parameters function so that options that take
a numeric argument can better bail out if given a weird parameter. This
catches situations such as "-y -Y 2000" or "-O -C [URL]" etc.
2003-10-31 09:22:25 +00:00
Daniel Stenberg
ffc58c6620 newer, nicer 2003-10-31 08:08:21 +00:00
Daniel Stenberg
39f673874f Set version string to -CVS. This string is generated by maketgz at release-
time.
2003-10-30 13:30:21 +00:00
Daniel Stenberg
fe291202db Make the CVS version clone the libcurl version string, this is generated
by the maketgz script so in releases this is replaced by an actual string.
2003-10-30 13:28:58 +00:00
Daniel Stenberg
4606dc4158 ignore .dist files here 2003-10-30 13:07:36 +00:00
Daniel Stenberg
36d6b16c23 Made the dist-hook more generic for adding more files named .dist into the
dist archive. Preparing for a new maketgz.
2003-10-30 12:48:19 +00:00
Daniel Stenberg
b4d8108ba1 --head on file://, some cleanups 2003-10-30 10:30:41 +00:00
Daniel Stenberg
2c120aa05c more help text cleanups 2003-10-30 09:15:47 +00:00
Daniel Stenberg
693df0fa34 silly me, I was meaning to do this change already as discussed on the libcurl
list, we get the time in GMT and not localtime
2003-10-30 09:13:04 +00:00
Daniel Stenberg
fb26b2bd98 curl --head now reports info "headers" on file:// URLs as well 2003-10-30 09:08:16 +00:00
Daniel Stenberg
5554f1ccba updated for the cut off GMT string 2003-10-30 09:06:52 +00:00
Daniel Stenberg
46accd62d1 when getting headers only, stop pretending the reported time is GMT, as it
isn't. In fact, it might be, but we have no idea.
2003-10-30 09:06:24 +00:00
Daniel Stenberg
41535eaea9 only use siginterrupt() if it really exists on the platform 2003-10-30 07:32:04 +00:00
Daniel Stenberg
02437b2d51 Check for siginterrupt, used by the test suite web server sws. 2003-10-30 07:31:02 +00:00
Daniel Stenberg
c964aedf3b Only compile the ipv6-section for ipv6-enabled libcurls. Should save
us some trouble.
2003-10-30 07:13:13 +00:00
Daniel Stenberg
5f4fb857f0 Added proper #ifdef's for the #include files when checking for in_addr_t,
which made the test start working nicely on BeOS. Shard verified it.
2003-10-30 07:08:45 +00:00
Daniel Stenberg
0334509754 Stop using stunnel.pm, we pass in the path from the main script instead.
Also made it easier to stop the test suite with control-c.
2003-10-29 16:27:43 +00:00
Daniel Stenberg
aad70aa24e cleaned up the --help output. Tried to unify the language. Shortened a bunch
of explanations.
2003-10-29 16:11:36 +00:00
Daniel Stenberg
e9c835ad06 David Hull made the file: URL parser also accept the somewhat sloppy file
syntax: file:/path. I added test case 203 to verify this.
2003-10-29 09:53:21 +00:00
Daniel Stenberg
0701b973df stunnel.pm is no more 2003-10-29 09:13:53 +00:00
Daniel Stenberg
ec59aa259f stunnel.pm is removed 2003-10-29 09:13:36 +00:00
Daniel Stenberg
ffc6d062d8 now check for and use valgrind, inserted and modified the check for stunnel
and we no longer use the stunnel.pm
2003-10-29 09:12:47 +00:00
Daniel Stenberg
757a7d0851 removed, functionality added to runtests.pl 2003-10-29 09:12:09 +00:00
Daniel Stenberg
25613503cb Another glibc resolve name fix 2003-10-28 13:06:15 +00:00
Daniel Stenberg
60ef75f2ee possibly uninitialized variable 2003-10-28 09:28:11 +00:00
Daniel Stenberg
1cdc66d927 overlapping memory chunks with strcpy(), detected by the friendly valgrind 2003-10-28 09:17:15 +00:00
Daniel Stenberg
ba12c5deda slightly quieter torture test by default 2003-10-27 06:40:48 +00:00
Daniel Stenberg
203f66d0cb James Bursa's fix to prevent failf() to write outside its buffer boundary 2003-10-27 06:35:47 +00:00
Daniel Stenberg
54c6f2c7c0 James Bursa found an ERRORBUFFFER overflow 2003-10-26 15:42:21 +00:00
Daniel Stenberg
4cccceb034 snprintf() made a single-byte buffer overflow, as it could write a zero
outside its given buffer. Discovered and reported by James Bursa.
2003-10-26 15:37:45 +00:00
Daniel Stenberg
245ab7c796 avoid dependence on the order of the fields in the timeval struct, pointed out
by Gisle Vanem
2003-10-25 06:03:50 +00:00
Daniel Stenberg
2bdf52d4c5 support building ares-enabled too 2003-10-24 22:30:40 +00:00
Daniel Stenberg
f991a69cce tests the new -C - fix 2003-10-24 21:58:43 +00:00
Daniel Stenberg
3dd26b7932 HTTP resume fix 2003-10-24 21:58:11 +00:00
Daniel Stenberg
a5e22867c7 Resuming a download of an already downloaded document, that is trying to get
a range of a document beyond its size, caused libcurl to "hang" until the
server closed the connection and then it returned error 18.

This is bad. This way, we don't return any error at all, which isn't nice
either, as we need to alert the app somehow that the request range was out
of size.
2003-10-24 21:54:34 +00:00
Daniel Stenberg
5c96266d45 solaris build improvement 2003-10-24 21:27:22 +00:00
Daniel Stenberg
fcfc6de918 Based on David Hull's fix in bug report 804599, we now check for solaris
and gcc, to set the -mimpure-text link flag for linking the lib better.
2003-10-24 21:26:04 +00:00
Daniel Stenberg
da0b380655 don't select() forever, set a timeout so at least the test fails nice 2003-10-24 20:58:34 +00:00
Daniel Stenberg
ed7ac3c932 better name, it isn't https 2003-10-24 20:39:39 +00:00
Daniel Stenberg
b5d4a71883 c-ares is the new name and ares_version() was added 2003-10-24 20:30:14 +00:00
Daniel Stenberg
a9d74e6c97 Introducing ares_version(), so that we can have apps get version info about
what particular ares version that is being used.
2003-10-24 20:28:04 +00:00
Daniel Stenberg
d46afd2b6a make it work with Negotiate support enabled too 2003-10-24 20:21:01 +00:00
Daniel Stenberg
ce4b8420d1 runtests -t introduced 2003-10-24 13:12:58 +00:00