platform/upstream/curl.git
20 years agodjgpp fixes by Gisle
Daniel Stenberg [Thu, 1 Jul 2004 13:55:13 +0000 (13:55 +0000)]
djgpp fixes by Gisle

20 years agoGisle's win32-fix. 'errno' is not used for errors when socket() fails on
Daniel Stenberg [Thu, 1 Jul 2004 13:54:24 +0000 (13:54 +0000)]
Gisle's win32-fix. 'errno' is not used for errors when socket() fails on
Windows.

20 years agoGisle added makefile for djgpp builds
Daniel Stenberg [Thu, 1 Jul 2004 13:53:13 +0000 (13:53 +0000)]
Gisle added makefile for djgpp builds

20 years ago--trace fix
Daniel Stenberg [Thu, 1 Jul 2004 12:37:55 +0000 (12:37 +0000)]
--trace fix

20 years agomake functions use size_t instead of int next major update
Daniel Stenberg [Thu, 1 Jul 2004 08:22:52 +0000 (08:22 +0000)]
make functions use size_t instead of int next major update

20 years agoVariable type cleanups to please the picky MIPSPro compiler.
Daniel Stenberg [Thu, 1 Jul 2004 08:10:21 +0000 (08:10 +0000)]
Variable type cleanups to please the picky MIPSPro compiler.

20 years agovariable type cleanup to fix picky compiler warnings
Daniel Stenberg [Thu, 1 Jul 2004 07:43:20 +0000 (07:43 +0000)]
variable type cleanup to fix picky compiler warnings

20 years agotypecast to prevent picky compiler warning
Daniel Stenberg [Thu, 1 Jul 2004 07:30:19 +0000 (07:30 +0000)]
typecast to prevent picky compiler warning

20 years agotypecast to int when the variable is int!
Daniel Stenberg [Thu, 1 Jul 2004 07:28:36 +0000 (07:28 +0000)]
typecast to int when the variable is int!

20 years agoGisle's djgpp magic
Daniel Stenberg [Thu, 1 Jul 2004 06:59:43 +0000 (06:59 +0000)]
Gisle's djgpp magic

20 years agoGisle Vanem made this build fine with djgpp and the Watt-32 stack.
Daniel Stenberg [Thu, 1 Jul 2004 06:58:47 +0000 (06:58 +0000)]
Gisle Vanem made this build fine with djgpp and the Watt-32 stack.

20 years agodon't close the trace stream until _after_ the easy handle has been cleaned
Daniel Stenberg [Thu, 1 Jul 2004 06:19:19 +0000 (06:19 +0000)]
don't close the trace stream until _after_ the easy handle has been cleaned
up, as that can send traces too

20 years agospellfixed comments
Daniel Stenberg [Thu, 1 Jul 2004 06:08:06 +0000 (06:08 +0000)]
spellfixed comments

20 years agoAnother Gisle update
Daniel Stenberg [Wed, 30 Jun 2004 12:34:33 +0000 (12:34 +0000)]
Another Gisle update

20 years ago5K array on the stack is a big hefty, it is now allocated with malloc
Daniel Stenberg [Wed, 30 Jun 2004 12:05:07 +0000 (12:05 +0000)]
5K array on the stack is a big hefty, it is now allocated with malloc
instead

20 years agoI think 1024 bytes is enough for even most ipv6 addresses :-)
Daniel Stenberg [Wed, 30 Jun 2004 12:04:37 +0000 (12:04 +0000)]
I think 1024 bytes is enough for even most ipv6 addresses :-)

20 years agoPrevent a very long password to buffer overflow the global variable we
Daniel Stenberg [Wed, 30 Jun 2004 11:53:34 +0000 (11:53 +0000)]
Prevent a very long password to buffer overflow the global variable we
use when built with a very old OpenSSL version.

20 years agoremoved trailing whitespace, free a missing malloc when returning error
Daniel Stenberg [Wed, 30 Jun 2004 11:51:24 +0000 (11:51 +0000)]
removed trailing whitespace, free a missing malloc when returning error

20 years agopassing in a very long interface name could make a buffer overflow
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

20 years agonot PIN code, pass phrase
Daniel Stenberg [Wed, 30 Jun 2004 11:34:57 +0000 (11:34 +0000)]
not PIN code, pass phrase

20 years agosimplified the check for when to free() the buf data
Daniel Stenberg [Wed, 30 Jun 2004 11:32:16 +0000 (11:32 +0000)]
simplified the check for when to free() the buf data

20 years agoNOBODY set TRUE after a POST makes a good HEAD now
Daniel Stenberg [Wed, 30 Jun 2004 11:09:16 +0000 (11:09 +0000)]
NOBODY set TRUE after a POST makes a good HEAD now

20 years agowxcurldav
Daniel Stenberg [Wed, 30 Jun 2004 10:47:14 +0000 (10:47 +0000)]
wxcurldav

20 years agofixed
Daniel Stenberg [Wed, 30 Jun 2004 09:29:00 +0000 (09:29 +0000)]
fixed

20 years agomake the SSL connect use the same default connect timeout define as the
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

20 years agoCurl_addrinfo is another typedef we use frequently
Daniel Stenberg [Tue, 29 Jun 2004 18:45:52 +0000 (18:45 +0000)]
Curl_addrinfo is another typedef we use frequently

20 years agoGisle fixed a bad free from the resolve reorg, I changed type of the buf
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.

20 years agoGisle's djgpp updates
Daniel Stenberg [Tue, 29 Jun 2004 18:43:56 +0000 (18:43 +0000)]
Gisle's djgpp updates

20 years agoGisle's update
Daniel Stenberg [Tue, 29 Jun 2004 18:43:04 +0000 (18:43 +0000)]
Gisle's update

20 years agofixed argument parsing; added --setup option.
Gunter Knauf [Tue, 29 Jun 2004 13:20:37 +0000 (13:20 +0000)]
fixed argument parsing; added --setup option.

20 years ago'M-x ispell-buffer'
Daniel Stenberg [Tue, 29 Jun 2004 13:16:30 +0000 (13:16 +0000)]
'M-x ispell-buffer'

20 years agomulti interface connect fix
Daniel Stenberg [Tue, 29 Jun 2004 11:27:33 +0000 (11:27 +0000)]
multi interface connect fix

20 years agocommented out the check for gethostbyname_r() as we no longer use it
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

20 years agocorrected the Curl_is_connected() proto
Daniel Stenberg [Tue, 29 Jun 2004 11:21:05 +0000 (11:21 +0000)]
corrected the Curl_is_connected() proto

20 years agoFirst attempt at making the multi interface work when connecting to a host
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.

20 years agoAdded missing info for the command line tool, as noted by Mike Kienenberger
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

20 years ago--limit-rate problems on Mac OS X was reported by Rob Stanzel
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

20 years agocheck for a fine poll() before it is used to sleep subsecond
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

20 years agoreset CURLOPT_CUSTOMREQUEST with NULL
Daniel Stenberg [Sun, 27 Jun 2004 21:19:54 +0000 (21:19 +0000)]
reset CURLOPT_CUSTOMREQUEST with NULL

20 years agosnprintf and version
Daniel Stenberg [Thu, 24 Jun 2004 15:20:29 +0000 (15:20 +0000)]
snprintf and version

20 years agooops 5 bytes makes 4 letters plus zero byte
Daniel Stenberg [Thu, 24 Jun 2004 15:15:27 +0000 (15:15 +0000)]
oops 5 bytes makes 4 letters plus zero byte

20 years agofix warning
Daniel Stenberg [Thu, 24 Jun 2004 15:06:25 +0000 (15:06 +0000)]
fix warning

20 years agothe _num_chars() function is not used, removing
Daniel Stenberg [Thu, 24 Jun 2004 15:05:39 +0000 (15:05 +0000)]
the _num_chars() function is not used, removing

20 years agoto prevent compier warnings, we only declare len if we have code
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

20 years agoGisle: free used memory better
Daniel Stenberg [Thu, 24 Jun 2004 14:40:16 +0000 (14:40 +0000)]
Gisle: free used memory better

20 years agoGisle cleaned up remaining host resolve re-org issues
Daniel Stenberg [Thu, 24 Jun 2004 14:39:52 +0000 (14:39 +0000)]
Gisle cleaned up remaining host resolve re-org issues

20 years agoinclude header for our printfs
Daniel Stenberg [Thu, 24 Jun 2004 14:35:45 +0000 (14:35 +0000)]
include header for our printfs

20 years agoreverted bad win32 fix
Daniel Stenberg [Thu, 24 Jun 2004 14:34:13 +0000 (14:34 +0000)]
reverted bad win32 fix

20 years agofixed the MSVC build.
Gunter Knauf [Thu, 24 Jun 2004 13:49:14 +0000 (13:49 +0000)]
fixed the MSVC build.

20 years agolength limit the sscanf() parsing to prevent buffer overflow
Daniel Stenberg [Thu, 24 Jun 2004 12:07:36 +0000 (12:07 +0000)]
length limit the sscanf() parsing to prevent buffer overflow

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