platform/upstream/curl.git
20 years agoah, simplified my latest change more
Daniel Stenberg [Thu, 24 Jun 2004 12:01:20 +0000 (12:01 +0000)]
ah, simplified my latest change more

20 years agofix for systems without gethostbyname_r()
Daniel Stenberg [Thu, 24 Jun 2004 11:58:43 +0000 (11:58 +0000)]
fix for systems without gethostbyname_r()

20 years agoReplaced all uses of sprintf() with the safer snprintf(). It is just a
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.

20 years agomade the Curl_he2ai() take the port number as an int intead, to avoid lots
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

20 years agouse snprintf() to be on the safe side
Daniel Stenberg [Thu, 24 Jun 2004 10:43:22 +0000 (10:43 +0000)]
use snprintf() to be on the safe side

20 years agotypecasts to prevent warnings
Daniel Stenberg [Thu, 24 Jun 2004 09:14:59 +0000 (09:14 +0000)]
typecasts to prevent warnings

20 years agoonly use sockaddr_in6 on ipv6-enabled hosts
Daniel Stenberg [Thu, 24 Jun 2004 09:13:50 +0000 (09:13 +0000)]
only use sockaddr_in6 on ipv6-enabled hosts

20 years agosocks proxy support even when libcurl is built ipv6-enabled
Daniel Stenberg [Thu, 24 Jun 2004 08:59:54 +0000 (08:59 +0000)]
socks proxy support even when libcurl is built ipv6-enabled

20 years agotypecast to prevent warning
Daniel Stenberg [Thu, 24 Jun 2004 08:31:17 +0000 (08:31 +0000)]
typecast to prevent warning

20 years agouse Curl_addrinfo, not 'struct addrinfo'
Daniel Stenberg [Thu, 24 Jun 2004 08:30:39 +0000 (08:30 +0000)]
use Curl_addrinfo, not 'struct addrinfo'

20 years agofixed problems I missed to fix from my cleanup
Daniel Stenberg [Thu, 24 Jun 2004 08:09:54 +0000 (08:09 +0000)]
fixed problems I missed to fix from my cleanup

20 years agoprevent warning
Daniel Stenberg [Thu, 24 Jun 2004 08:08:28 +0000 (08:08 +0000)]
prevent warning

20 years agoYet another resolve code re-org
Daniel Stenberg [Thu, 24 Jun 2004 07:56:07 +0000 (07:56 +0000)]
Yet another resolve code re-org

20 years agoSource cleanups. The major one being that we now _always_ use a Curl_addrinfo
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.

20 years agostatic functions are better not Curl_ prefixed to make their static
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

20 years agoWhen adding the return -1 to prevent warnings on some compilers, others
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!

20 years agoprevent a warning
Daniel Stenberg [Wed, 23 Jun 2004 06:14:23 +0000 (06:14 +0000)]
prevent a warning

20 years agoone copy&paste too much, removed the define again.
Gunter Knauf [Tue, 22 Jun 2004 23:56:19 +0000 (23:56 +0000)]
one copy&paste too much, removed the define again.

20 years agoargh - copy&paste error.
Gunter Knauf [Tue, 22 Jun 2004 23:22:37 +0000 (23:22 +0000)]
argh - copy&paste error.

20 years agosyncronized with recent getdate.y updates.
Gunter Knauf [Tue, 22 Jun 2004 23:04:57 +0000 (23:04 +0000)]
syncronized with recent getdate.y updates.

20 years agothe hostname variable wasn't assigned and we no longer use it
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

20 years agocookie size
Daniel Stenberg [Tue, 22 Jun 2004 21:22:42 +0000 (21:22 +0000)]
cookie size

20 years agoextended to include a cookie with 4998 bytes of content
Daniel Stenberg [Tue, 22 Jun 2004 21:21:54 +0000 (21:21 +0000)]
extended to include a cookie with 4998 bytes of content

20 years agoDavid Cohen pointed out that RFC2109 says clients should allow cookies to
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.

20 years agoGünter Knauf fixed getdate.y to remove a few warnings. I removed the
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.

20 years agoadded new --target option for autobuilding other targets than GNU-like.
Gunter Knauf [Tue, 22 Jun 2004 20:02:49 +0000 (20:02 +0000)]
added new --target option for autobuilding other targets than GNU-like.

20 years agoadded 'clean' targets for mingw32 and netware.
Gunter Knauf [Tue, 22 Jun 2004 18:26:23 +0000 (18:26 +0000)]
added 'clean' targets for mingw32 and netware.

20 years agoreset CURLOPT_HTTPHEADER with NULL
Daniel Stenberg [Tue, 22 Jun 2004 17:22:30 +0000 (17:22 +0000)]
reset CURLOPT_HTTPHEADER with NULL

20 years agoMoved the "About to connect() to" text to the place where the host name is
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.

20 years agoGisle Vanem improved the certificate wildcard checks
Daniel Stenberg [Tue, 22 Jun 2004 08:54:42 +0000 (08:54 +0000)]
Gisle Vanem improved the certificate wildcard checks

20 years agoGisle fixed the wildcard checks for certificates.
Daniel Stenberg [Tue, 22 Jun 2004 08:51:22 +0000 (08:51 +0000)]
Gisle fixed the wildcard checks for certificates.

20 years agoGunter's fix to avoid the notorious YYSTACK_USE_ALLOCA warning we get on
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.

20 years agoretry to read the sent request a few times if it doesn't exist the first time
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

20 years agopass an int pointer when it expects an int pointer...
Daniel Stenberg [Tue, 22 Jun 2004 06:50:41 +0000 (06:50 +0000)]
pass an int pointer when it expects an int pointer...

20 years agomodified some logging output
Daniel Stenberg [Tue, 22 Jun 2004 06:44:14 +0000 (06:44 +0000)]
modified some logging output

20 years agotestcurl.sh is dead, long live tests/testcurl.pl!
Daniel Stenberg [Mon, 21 Jun 2004 14:58:03 +0000 (14:58 +0000)]
testcurl.sh is dead, long live tests/testcurl.pl!

20 years agoThis is the old script for testing curl, now use tests/testcurl.pl instead.
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.

20 years agoread callback return code and fixed the pycurl url
Daniel Stenberg [Mon, 21 Jun 2004 14:20:34 +0000 (14:20 +0000)]
read callback return code and fixed the pycurl url

20 years agoCURL_READFUNC_ABORT stuff
Daniel Stenberg [Mon, 21 Jun 2004 14:10:39 +0000 (14:10 +0000)]
CURL_READFUNC_ABORT stuff

20 years agoAdded blurb for the READFUNCTION, including the new CURL_READFUNC_ABORT
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.

20 years agoadded test case 513
Daniel Stenberg [Mon, 21 Jun 2004 14:08:48 +0000 (14:08 +0000)]
added test case 513

20 years agoThe read callback can now return CURL_READFUNC_ABORT to stop a transfer.
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.

20 years agoadded CURL_READFUNC_ABORT
Daniel Stenberg [Mon, 21 Jun 2004 14:04:36 +0000 (14:04 +0000)]
added CURL_READFUNC_ABORT

20 years agowhen the client disconnects prematurely, dump the request as received thus
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

20 years agorecent events
Daniel Stenberg [Mon, 21 Jun 2004 10:56:33 +0000 (10:56 +0000)]
recent events

20 years agotypecasts to prevent compiler warnings
Daniel Stenberg [Mon, 21 Jun 2004 08:37:53 +0000 (08:37 +0000)]
typecasts to prevent compiler warnings

20 years agoupdates
Daniel Stenberg [Mon, 21 Jun 2004 08:28:18 +0000 (08:28 +0000)]
updates

20 years agorefer to the new tutorial man page
Daniel Stenberg [Mon, 21 Jun 2004 08:28:10 +0000 (08:28 +0000)]
refer to the new tutorial man page

20 years agoremoved libcurl-the-guide from the dist
Daniel Stenberg [Mon, 21 Jun 2004 08:27:45 +0000 (08:27 +0000)]
removed libcurl-the-guide from the dist

20 years agolibcurl-tutorial.3 is the former libcurl-the-guide converted to man page format
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

20 years agotest 177 HTTP POST with --digest that gets a 302 response
Daniel Stenberg [Sat, 19 Jun 2004 10:10:50 +0000 (10:10 +0000)]
test 177 HTTP POST with --digest that gets a 302 response

20 years agoWhen doing auth negotiations or authprobing, we only consider HTTP code
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.

20 years agoprevent compiler warning
Daniel Stenberg [Sat, 19 Jun 2004 09:38:08 +0000 (09:38 +0000)]
prevent compiler warning

20 years agoispell-buffer
Daniel Stenberg [Fri, 18 Jun 2004 13:11:49 +0000 (13:11 +0000)]
ispell-buffer

20 years agotwo issues to remember to fix before next release
Daniel Stenberg [Fri, 18 Jun 2004 11:47:08 +0000 (11:47 +0000)]
two issues to remember to fix before next release

20 years agoGisle's "SSL patch" from June 16th 2004, modified by me as discussed on the
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.

20 years agoWith David Byron's test server I could repeat his problem and make sure that
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.

20 years agolarge file FTP upload bug
Daniel Stenberg [Thu, 17 Jun 2004 08:07:24 +0000 (08:07 +0000)]
large file FTP upload bug

20 years agonew daring features, not used by any current test
Daniel Stenberg [Thu, 17 Jun 2004 08:06:03 +0000 (08:06 +0000)]
new daring features, not used by any current test

20 years agoKeep the upload byte counter in an curl_off_t, not an int. 32bits is not
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.

20 years agoAlexander Krasnostavsky fixed a flaw in the 3rd party transfer code that
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.

20 years agopost with auth problems fixed
Daniel Stenberg [Tue, 15 Jun 2004 11:04:21 +0000 (11:04 +0000)]
post with auth problems fixed

20 years agoskip the pid from the logging
Daniel Stenberg [Tue, 15 Jun 2004 10:28:56 +0000 (10:28 +0000)]
skip the pid from the logging

20 years agotest 176, use --ntlm and POST when the server doesn't require any auth
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

20 years agoadded test case 175, use HTTP POST and DIGEST set but the server requires no
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

20 years agoFix the auth code to enable us to i.e set DIGEST and then find out that the
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".

20 years agowe actually build and run fine with libidn 0.4.1 too, so let's not require
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

20 years agolots of multi interface description but also some general updates and additions
Daniel Stenberg [Mon, 14 Jun 2004 14:44:28 +0000 (14:44 +0000)]
lots of multi interface description but also some general updates and additions

20 years agoprevent compiler warnings on non-win32 platforms
Daniel Stenberg [Mon, 14 Jun 2004 10:45:30 +0000 (10:45 +0000)]
prevent compiler warnings on non-win32 platforms

20 years agoadded test 174, HTTP POST --anyauth to server without auth requirements.
Daniel Stenberg [Mon, 14 Jun 2004 09:16:39 +0000 (09:16 +0000)]
added test 174, HTTP POST --anyauth to server without auth requirements.
An attempt to repeat a reported auth problem. Works for me!

20 years agorecent action
Daniel Stenberg [Mon, 14 Jun 2004 08:54:59 +0000 (08:54 +0000)]
recent action

20 years agoAllow formposting of files larger than what fits in memory by not reading the
Daniel Stenberg [Mon, 14 Jun 2004 08:51:43 +0000 (08:51 +0000)]
Allow formposting of files larger than what fits in memory by not reading the
file until it is actually being uploaded.
Make sure we build and still work with HTTP disabled - the SSL code might use
the boundary string for some random seeding.

20 years agorefuse running the torture tests without a debug build
Daniel Stenberg [Mon, 14 Jun 2004 08:25:54 +0000 (08:25 +0000)]
refuse running the torture tests without a debug build

20 years agomoved default: in a switch case to prevent compiler warning that 'request'
Daniel Stenberg [Sun, 13 Jun 2004 09:08:38 +0000 (09:08 +0000)]
moved default: in a switch case to prevent compiler warning that 'request'
might be used uninitialized

20 years agoprovide curl_formfree() even when http is disabled, it does nothing then
Daniel Stenberg [Sun, 13 Jun 2004 08:59:37 +0000 (08:59 +0000)]
provide curl_formfree() even when http is disabled, it does nothing then

20 years agouse Curl_strcasestr() when checking wildcard cert names
Daniel Stenberg [Sun, 13 Jun 2004 08:33:26 +0000 (08:33 +0000)]
use Curl_strcasestr() when checking wildcard cert names

20 years agoadded Curl_strcasestr() for case insensitive strstr() searching
Daniel Stenberg [Sun, 13 Jun 2004 08:32:57 +0000 (08:32 +0000)]
added Curl_strcasestr() for case insensitive strstr() searching

20 years agoremoved unused include path.
Gunter Knauf [Fri, 11 Jun 2004 17:27:03 +0000 (17:27 +0000)]
removed unused include path.

20 years agofixed xdc generation, added lib target, load curl.nlm into ring3 by default.
Gunter Knauf [Fri, 11 Jun 2004 15:33:07 +0000 (15:33 +0000)]
fixed xdc generation, added lib target, load curl.nlm into ring3 by default.

20 years agoTim Sneddon made it build fine on VMS again.
Daniel Stenberg [Fri, 11 Jun 2004 12:29:30 +0000 (12:29 +0000)]
Tim Sneddon made it build fine on VMS again.

20 years agosome more makefile changes.
Gunter Knauf [Fri, 11 Jun 2004 02:29:16 +0000 (02:29 +0000)]
some more makefile changes.

20 years agorespect CVS builds in version string.
Gunter Knauf [Fri, 11 Jun 2004 01:36:27 +0000 (01:36 +0000)]
respect CVS builds in version string.

20 years agosome more makefile changes.
Gunter Knauf [Fri, 11 Jun 2004 01:04:06 +0000 (01:04 +0000)]
some more makefile changes.

20 years agocosmetic correction.
Gunter Knauf [Thu, 10 Jun 2004 22:24:37 +0000 (22:24 +0000)]
cosmetic correction.

20 years agoconverted to UNIX format.
Gunter Knauf [Thu, 10 Jun 2004 21:20:15 +0000 (21:20 +0000)]
converted to UNIX format.

20 years agoadded timeval.c to the sources for curlx_ functions.
Gunter Knauf [Thu, 10 Jun 2004 20:46:24 +0000 (20:46 +0000)]
added timeval.c to the sources for curlx_ functions.

20 years agominor output fix.
Gunter Knauf [Thu, 10 Jun 2004 20:43:46 +0000 (20:43 +0000)]
minor output fix.

20 years agoups! no copy command defined.
Gunter Knauf [Thu, 10 Jun 2004 20:29:19 +0000 (20:29 +0000)]
ups! no copy command defined.

20 years agoadded generation of missing files.
Gunter Knauf [Thu, 10 Jun 2004 20:25:02 +0000 (20:25 +0000)]
added generation of missing files.

20 years agoadded generation of missing files.
Gunter Knauf [Thu, 10 Jun 2004 20:12:49 +0000 (20:12 +0000)]
added generation of missing files.

20 years agomake include path overridable.
Gunter Knauf [Thu, 10 Jun 2004 17:11:39 +0000 (17:11 +0000)]
make include path overridable.

20 years agoGisle Vanem's init patch for Windows
Daniel Stenberg [Thu, 10 Jun 2004 13:11:32 +0000 (13:11 +0000)]
Gisle Vanem's init patch for Windows

20 years agoremoved trailing whitespace
Daniel Stenberg [Thu, 10 Jun 2004 11:56:02 +0000 (11:56 +0000)]
removed trailing whitespace

20 years agoGisle corrected two comments
Daniel Stenberg [Thu, 10 Jun 2004 11:55:37 +0000 (11:55 +0000)]
Gisle corrected two comments

20 years agoGisle Vanem's improved verbose output and timeout handling when connecting to
Daniel Stenberg [Thu, 10 Jun 2004 11:06:21 +0000 (11:06 +0000)]
Gisle Vanem's improved verbose output and timeout handling when connecting to
a host name that resolves to multiple IP addresses.

20 years agobuild again with disabled http
Daniel Stenberg [Thu, 10 Jun 2004 07:46:24 +0000 (07:46 +0000)]
build again with disabled http

20 years agoSteven Bazyl and Seshubabu Pasam pointed out a bug on win32 when freeing the
Daniel Stenberg [Thu, 10 Jun 2004 07:17:28 +0000 (07:17 +0000)]
Steven Bazyl and Seshubabu Pasam pointed out a bug on win32 when freeing the
path after a transfer.

20 years agoAlexander Krasnostavsky's fix to make libcurl build fine with configure
Daniel Stenberg [Wed, 9 Jun 2004 08:23:55 +0000 (08:23 +0000)]
Alexander Krasnostavsky's fix to make libcurl build fine with configure
--disable-http, which thus builds a libcurl without HTTP support.

20 years agowhen built with HTTP disabled, provide a curl_formadd() function anyway to
Daniel Stenberg [Wed, 9 Jun 2004 08:22:02 +0000 (08:22 +0000)]
when built with HTTP disabled, provide a curl_formadd() function anyway to
keep the API complete at all times

20 years agoAdded CURL_FORMADD_DISABLED when libcurl is built with HTTP disabled
Daniel Stenberg [Wed, 9 Jun 2004 08:21:11 +0000 (08:21 +0000)]
Added CURL_FORMADD_DISABLED when libcurl is built with HTTP disabled