Daniel Stenberg [Wed, 30 Jun 2004 11:51:24 +0000 (11:51 +0000)]
removed trailing whitespace, free a missing malloc when returning error
Daniel Stenberg [Wed, 30 Jun 2004 11:48:19 +0000 (11:48 +0000)]
passing in a very long interface name could make a buffer overflow
Daniel Stenberg [Wed, 30 Jun 2004 11:34:57 +0000 (11:34 +0000)]
not PIN code, pass phrase
Daniel Stenberg [Wed, 30 Jun 2004 11:32:16 +0000 (11:32 +0000)]
simplified the check for when to free() the buf data
Daniel Stenberg [Wed, 30 Jun 2004 11:09:16 +0000 (11:09 +0000)]
NOBODY set TRUE after a POST makes a good HEAD now
Daniel Stenberg [Wed, 30 Jun 2004 10:47:14 +0000 (10:47 +0000)]
wxcurldav
Daniel Stenberg [Wed, 30 Jun 2004 09:29:00 +0000 (09:29 +0000)]
fixed
Daniel Stenberg [Wed, 30 Jun 2004 09:22:48 +0000 (09:22 +0000)]
make the SSL connect use the same default connect timeout define as the
generic connect uses
Daniel Stenberg [Tue, 29 Jun 2004 18:45:52 +0000 (18:45 +0000)]
Curl_addrinfo is another typedef we use frequently
Daniel Stenberg [Tue, 29 Jun 2004 18:44:59 +0000 (18:44 +0000)]
Gisle fixed a bad free from the resolve reorg, I changed type of the buf
variable to sort out some compiler warnings.
Daniel Stenberg [Tue, 29 Jun 2004 18:43:56 +0000 (18:43 +0000)]
Gisle's djgpp updates
Daniel Stenberg [Tue, 29 Jun 2004 18:43:04 +0000 (18:43 +0000)]
Gisle's update
Gunter Knauf [Tue, 29 Jun 2004 13:20:37 +0000 (13:20 +0000)]
fixed argument parsing; added --setup option.
Daniel Stenberg [Tue, 29 Jun 2004 13:16:30 +0000 (13:16 +0000)]
'M-x ispell-buffer'
Daniel Stenberg [Tue, 29 Jun 2004 11:27:33 +0000 (11:27 +0000)]
multi interface connect fix
Daniel Stenberg [Tue, 29 Jun 2004 11:22:39 +0000 (11:22 +0000)]
commented out the check for gethostbyname_r() as we no longer use it
Daniel Stenberg [Tue, 29 Jun 2004 11:21:05 +0000 (11:21 +0000)]
corrected the Curl_is_connected() proto
Daniel Stenberg [Tue, 29 Jun 2004 11:20:07 +0000 (11:20 +0000)]
First attempt at making the multi interface work when connecting to a host
that resolves to multiple IP addresses.
Daniel Stenberg [Tue, 29 Jun 2004 07:58:52 +0000 (07:58 +0000)]
Added missing info for the command line tool, as noted by Mike Kienenberger
Daniel Stenberg [Mon, 28 Jun 2004 07:08:09 +0000 (07:08 +0000)]
--limit-rate problems on Mac OS X was reported by Rob Stanzel
Daniel Stenberg [Sun, 27 Jun 2004 21:51:54 +0000 (21:51 +0000)]
check for a fine poll() before it is used to sleep subsecond
Daniel Stenberg [Sun, 27 Jun 2004 21:19:54 +0000 (21:19 +0000)]
reset CURLOPT_CUSTOMREQUEST with NULL
Daniel Stenberg [Thu, 24 Jun 2004 15:20:29 +0000 (15:20 +0000)]
snprintf and version
Daniel Stenberg [Thu, 24 Jun 2004 15:15:27 +0000 (15:15 +0000)]
oops 5 bytes makes 4 letters plus zero byte
Daniel Stenberg [Thu, 24 Jun 2004 15:06:25 +0000 (15:06 +0000)]
fix warning
Daniel Stenberg [Thu, 24 Jun 2004 15:05:39 +0000 (15:05 +0000)]
the _num_chars() function is not used, removing
Daniel Stenberg [Thu, 24 Jun 2004 14:52:51 +0000 (14:52 +0000)]
to prevent compier warnings, we only declare len if we have code
that uses it
Daniel Stenberg [Thu, 24 Jun 2004 14:40:16 +0000 (14:40 +0000)]
Gisle: free used memory better
Daniel Stenberg [Thu, 24 Jun 2004 14:39:52 +0000 (14:39 +0000)]
Gisle cleaned up remaining host resolve re-org issues
Daniel Stenberg [Thu, 24 Jun 2004 14:35:45 +0000 (14:35 +0000)]
include header for our printfs
Daniel Stenberg [Thu, 24 Jun 2004 14:34:13 +0000 (14:34 +0000)]
reverted bad win32 fix
Gunter Knauf [Thu, 24 Jun 2004 13:49:14 +0000 (13:49 +0000)]
fixed the MSVC build.
Daniel Stenberg [Thu, 24 Jun 2004 12:07:36 +0000 (12:07 +0000)]
length limit the sscanf() parsing to prevent buffer overflow
Daniel Stenberg [Thu, 24 Jun 2004 12:01:20 +0000 (12:01 +0000)]
ah, simplified my latest change more
Daniel Stenberg [Thu, 24 Jun 2004 11:58:43 +0000 (11:58 +0000)]
fix for systems without gethostbyname_r()
Daniel Stenberg [Thu, 24 Jun 2004 11:54:11 +0000 (11:54 +0000)]
Replaced all uses of sprintf() with the safer snprintf(). It is just a
precaution to prevent mistakes to lead to buffer overflows.
Daniel Stenberg [Thu, 24 Jun 2004 10:43:50 +0000 (10:43 +0000)]
made the Curl_he2ai() take the port number as an int intead, to avoid lots
of typecasts all over
Daniel Stenberg [Thu, 24 Jun 2004 10:43:22 +0000 (10:43 +0000)]
use snprintf() to be on the safe side
Daniel Stenberg [Thu, 24 Jun 2004 09:14:59 +0000 (09:14 +0000)]
typecasts to prevent warnings
Daniel Stenberg [Thu, 24 Jun 2004 09:13:50 +0000 (09:13 +0000)]
only use sockaddr_in6 on ipv6-enabled hosts
Daniel Stenberg [Thu, 24 Jun 2004 08:59:54 +0000 (08:59 +0000)]
socks proxy support even when libcurl is built ipv6-enabled
Daniel Stenberg [Thu, 24 Jun 2004 08:31:17 +0000 (08:31 +0000)]
typecast to prevent warning
Daniel Stenberg [Thu, 24 Jun 2004 08:30:39 +0000 (08:30 +0000)]
use Curl_addrinfo, not 'struct addrinfo'
Daniel Stenberg [Thu, 24 Jun 2004 08:09:54 +0000 (08:09 +0000)]
fixed problems I missed to fix from my cleanup
Daniel Stenberg [Thu, 24 Jun 2004 08:08:28 +0000 (08:08 +0000)]
prevent warning
Daniel Stenberg [Thu, 24 Jun 2004 07:56:07 +0000 (07:56 +0000)]
Yet another resolve code re-org
Daniel Stenberg [Thu, 24 Jun 2004 07:43:48 +0000 (07:43 +0000)]
Source cleanups. The major one being that we now _always_ use a Curl_addrinfo
linked list for name resolved data, even on hosts/systems with only IPv4
stacks as this simplifies a lot of code.
Daniel Stenberg [Wed, 23 Jun 2004 09:08:03 +0000 (09:08 +0000)]
static functions are better not Curl_ prefixed to make their static
status more obvious
Daniel Stenberg [Wed, 23 Jun 2004 06:17:17 +0000 (06:17 +0000)]
When adding the return -1 to prevent warnings on some compilers, others
started complaining since it won't be reached... So I removed the call to
abort() and just return -1 instead. abort() was wrong to call anyway since
this is a library!
Daniel Stenberg [Wed, 23 Jun 2004 06:14:23 +0000 (06:14 +0000)]
prevent a warning
Gunter Knauf [Tue, 22 Jun 2004 23:56:19 +0000 (23:56 +0000)]
one copy&paste too much, removed the define again.
Gunter Knauf [Tue, 22 Jun 2004 23:22:37 +0000 (23:22 +0000)]
argh - copy&paste error.
Gunter Knauf [Tue, 22 Jun 2004 23:04:57 +0000 (23:04 +0000)]
syncronized with recent getdate.y updates.
Daniel Stenberg [Tue, 22 Jun 2004 21:25:53 +0000 (21:25 +0000)]
the hostname variable wasn't assigned and we no longer use it
Daniel Stenberg [Tue, 22 Jun 2004 21:22:42 +0000 (21:22 +0000)]
cookie size
Daniel Stenberg [Tue, 22 Jun 2004 21:21:54 +0000 (21:21 +0000)]
extended to include a cookie with 4998 bytes of content
Daniel Stenberg [Tue, 22 Jun 2004 21:15:51 +0000 (21:15 +0000)]
David Cohen pointed out that RFC2109 says clients should allow cookies to
contain least 4096 bytes while libcurl only allowed 2047. I raised the limit
to 4999 now and made the used buffer get malloc()ed instead of simply
allocated on stack as before.
Daniel Stenberg [Tue, 22 Jun 2004 21:12:34 +0000 (21:12 +0000)]
Günter Knauf fixed getdate.y to remove a few warnings. I removed the
ifdef'ed test we never ever use anyway.
Gunter Knauf [Tue, 22 Jun 2004 20:02:49 +0000 (20:02 +0000)]
added new --target option for autobuilding other targets than GNU-like.
Gunter Knauf [Tue, 22 Jun 2004 18:26:23 +0000 (18:26 +0000)]
added 'clean' targets for mingw32 and netware.
Daniel Stenberg [Tue, 22 Jun 2004 17:22:30 +0000 (17:22 +0000)]
reset CURLOPT_HTTPHEADER with NULL
Daniel Stenberg [Tue, 22 Jun 2004 15:23:01 +0000 (15:23 +0000)]
Moved the "About to connect() to" text to the place where the host name is
actually known, as before this text lied when used in i.e FTP.
Daniel Stenberg [Tue, 22 Jun 2004 08:54:42 +0000 (08:54 +0000)]
Gisle Vanem improved the certificate wildcard checks
Daniel Stenberg [Tue, 22 Jun 2004 08:51:22 +0000 (08:51 +0000)]
Gisle fixed the wildcard checks for certificates.
Daniel Stenberg [Tue, 22 Jun 2004 07:27:43 +0000 (07:27 +0000)]
Gunter's fix to avoid the notorious YYSTACK_USE_ALLOCA warning we get on
several platforms/compilers/yacc versions.
Daniel Stenberg [Tue, 22 Jun 2004 07:09:47 +0000 (07:09 +0000)]
retry to read the sent request a few times if it doesn't exist the first time
Daniel Stenberg [Tue, 22 Jun 2004 06:50:41 +0000 (06:50 +0000)]
pass an int pointer when it expects an int pointer...
Daniel Stenberg [Tue, 22 Jun 2004 06:44:14 +0000 (06:44 +0000)]
modified some logging output
Daniel Stenberg [Mon, 21 Jun 2004 14:58:03 +0000 (14:58 +0000)]
testcurl.sh is dead, long live tests/testcurl.pl!
Daniel Stenberg [Mon, 21 Jun 2004 14:56:48 +0000 (14:56 +0000)]
This is the old script for testing curl, now use tests/testcurl.pl instead.
It is more portable.
Daniel Stenberg [Mon, 21 Jun 2004 14:20:34 +0000 (14:20 +0000)]
read callback return code and fixed the pycurl url
Daniel Stenberg [Mon, 21 Jun 2004 14:10:39 +0000 (14:10 +0000)]
CURL_READFUNC_ABORT stuff
Daniel Stenberg [Mon, 21 Jun 2004 14:09:23 +0000 (14:09 +0000)]
Added blurb for the READFUNCTION, including the new CURL_READFUNC_ABORT
return code.
Daniel Stenberg [Mon, 21 Jun 2004 14:08:48 +0000 (14:08 +0000)]
added test case 513
Daniel Stenberg [Mon, 21 Jun 2004 14:07:38 +0000 (14:07 +0000)]
The read callback can now return CURL_READFUNC_ABORT to stop a transfer.
Daniel Stenberg [Mon, 21 Jun 2004 14:04:36 +0000 (14:04 +0000)]
added CURL_READFUNC_ABORT
Daniel Stenberg [Mon, 21 Jun 2004 14:00:11 +0000 (14:00 +0000)]
when the client disconnects prematurely, dump the request as received thus
far
Daniel Stenberg [Mon, 21 Jun 2004 10:56:33 +0000 (10:56 +0000)]
recent events
Daniel Stenberg [Mon, 21 Jun 2004 08:37:53 +0000 (08:37 +0000)]
typecasts to prevent compiler warnings
Daniel Stenberg [Mon, 21 Jun 2004 08:28:18 +0000 (08:28 +0000)]
updates
Daniel Stenberg [Mon, 21 Jun 2004 08:28:10 +0000 (08:28 +0000)]
refer to the new tutorial man page
Daniel Stenberg [Mon, 21 Jun 2004 08:27:45 +0000 (08:27 +0000)]
removed libcurl-the-guide from the dist
Daniel Stenberg [Mon, 21 Jun 2004 08:17:08 +0000 (08:17 +0000)]
libcurl-tutorial.3 is the former libcurl-the-guide converted to man page format
Daniel Stenberg [Sat, 19 Jun 2004 10:10:50 +0000 (10:10 +0000)]
test 177 HTTP POST with --digest that gets a 302 response
Daniel Stenberg [Sat, 19 Jun 2004 10:10:24 +0000 (10:10 +0000)]
When doing auth negotiations or authprobing, we only consider HTTP code
<300 to be good.
Daniel Stenberg [Sat, 19 Jun 2004 09:38:08 +0000 (09:38 +0000)]
prevent compiler warning
Daniel Stenberg [Fri, 18 Jun 2004 13:11:49 +0000 (13:11 +0000)]
ispell-buffer
Daniel Stenberg [Fri, 18 Jun 2004 11:47:08 +0000 (11:47 +0000)]
two issues to remember to fix before next release
Daniel Stenberg [Fri, 18 Jun 2004 06:20:43 +0000 (06:20 +0000)]
Gisle's "SSL patch" from June 16th 2004, modified by me as discussed on the
mailing list.
Daniel Stenberg [Fri, 18 Jun 2004 06:15:26 +0000 (06:15 +0000)]
With David Byron's test server I could repeat his problem and make sure that
POSTing over HTTPS:// with NTLM works fine now. There was a general problem
with multi-pass authentication with non-GET operations with CONNECT.
Daniel Stenberg [Thu, 17 Jun 2004 08:07:24 +0000 (08:07 +0000)]
large file FTP upload bug
Daniel Stenberg [Thu, 17 Jun 2004 08:06:03 +0000 (08:06 +0000)]
new daring features, not used by any current test
Daniel Stenberg [Wed, 16 Jun 2004 09:28:47 +0000 (09:28 +0000)]
Keep the upload byte counter in an curl_off_t, not an int. 32bits is not
enough. This is most likely the bug Jean-Louis Lemaire reported that makes
2GB FTP uploads to report error when completed.
Also padded comments to get them aligned again, only for visibility.
Daniel Stenberg [Wed, 16 Jun 2004 09:05:22 +0000 (09:05 +0000)]
Alexander Krasnostavsky fixed a flaw in the 3rd party transfer code that
didn't properly check return code.
Daniel Stenberg [Tue, 15 Jun 2004 11:04:21 +0000 (11:04 +0000)]
post with auth problems fixed
Daniel Stenberg [Tue, 15 Jun 2004 10:28:56 +0000 (10:28 +0000)]
skip the pid from the logging
Daniel Stenberg [Tue, 15 Jun 2004 09:20:04 +0000 (09:20 +0000)]
test 176, use --ntlm and POST when the server doesn't require any auth
Daniel Stenberg [Tue, 15 Jun 2004 08:50:15 +0000 (08:50 +0000)]
added test case 175, use HTTP POST and DIGEST set but the server requires no
auth
Daniel Stenberg [Tue, 15 Jun 2004 08:45:22 +0000 (08:45 +0000)]
Fix the auth code to enable us to i.e set DIGEST and then find out that the
server doesn't require any auth at all and then we just continue nicely. We
now have an extra bit in the connection struct named 'authprobe' that is TRUE
when doing pure "HTTP authentication probing".
Daniel Stenberg [Mon, 14 Jun 2004 21:40:11 +0000 (21:40 +0000)]
we actually build and run fine with libidn 0.4.1 too, so let's not require
anything newer than that