platform/upstream/curl.git
20 years agotypecast long => int conversion
Daniel Stenberg [Sun, 4 Jul 2004 21:38:36 +0000 (21:38 +0000)]
typecast long => int conversion

20 years agoexplicit typecasts when converting from long to int to avoid warnings
Daniel Stenberg [Sun, 4 Jul 2004 21:37:35 +0000 (21:37 +0000)]
explicit typecasts when converting from long to int to avoid warnings

20 years agoadded NetWare section for paths.
Gunter Knauf [Sun, 4 Jul 2004 21:36:32 +0000 (21:36 +0000)]
added NetWare section for paths.

20 years agomade 'connectindex' a long variable to prevent compiler warnings when
Daniel Stenberg [Sun, 4 Jul 2004 21:36:14 +0000 (21:36 +0000)]
made 'connectindex' a long variable to prevent compiler warnings when
implicitly converting it to int

20 years agoupdate to build both test apps.
Gunter Knauf [Sun, 4 Jul 2004 21:35:26 +0000 (21:35 +0000)]
update to build both test apps.

20 years agotypecast the conversion from long to int to prevent picky compiler warnings
Daniel Stenberg [Sun, 4 Jul 2004 21:35:12 +0000 (21:35 +0000)]
typecast the conversion from long to int to prevent picky compiler warnings

20 years agoremoved now obsolete ifdef. Shouldnt the other ifdefs be inside the else as they...
Gunter Knauf [Sun, 4 Jul 2004 15:37:25 +0000 (15:37 +0000)]
removed now obsolete ifdef. Shouldnt the other ifdefs be inside the else as they are in ./src/setup.h ?

20 years agoremoved now obsolete ifdef.
Gunter Knauf [Sun, 4 Jul 2004 15:34:58 +0000 (15:34 +0000)]
removed now obsolete ifdef.

20 years agoremoved abort() - sync'd with getdate.y 1.26
Gunter Knauf [Sun, 4 Jul 2004 15:27:08 +0000 (15:27 +0000)]
removed abort() - sync'd with getdate.y 1.26

20 years agoinclude the Makefile.inc file to get all sources and headers
Daniel Stenberg [Sun, 4 Jul 2004 08:45:25 +0000 (08:45 +0000)]
include the Makefile.inc file to get all sources and headers

20 years agominor fix for compiling on Linux.
Gunter Knauf [Sat, 3 Jul 2004 22:25:37 +0000 (22:25 +0000)]
minor fix for compiling on Linux.

20 years agoadded few ifdefs to make it usable for NetWare.
Gunter Knauf [Sat, 3 Jul 2004 21:48:42 +0000 (21:48 +0000)]
added few ifdefs to make it usable for NetWare.

20 years agoadded NetWare makefile.
Gunter Knauf [Sat, 3 Jul 2004 21:44:32 +0000 (21:44 +0000)]
added NetWare makefile.

20 years agoreverted, older gcc breaks compilation since it doesnt know the switch.
Gunter Knauf [Sat, 3 Jul 2004 20:18:02 +0000 (20:18 +0000)]
reverted, older gcc breaks compilation since it doesnt know the switch.

20 years agokilled warning with gcc 3.3.1 and later when using -O2.
Gunter Knauf [Sat, 3 Jul 2004 19:58:01 +0000 (19:58 +0000)]
killed warning with gcc 3.3.1 and later when using -O2.

20 years agomodified to use new Makefile.inc to build up object list;
Gunter Knauf [Sat, 3 Jul 2004 19:13:28 +0000 (19:13 +0000)]
modified to use new Makefile.inc to build up object list;
added generation of config.h and a prebuild target to create all neded files.

20 years agomodified to use new Makefile.inc to build up object list;
Gunter Knauf [Sat, 3 Jul 2004 18:06:39 +0000 (18:06 +0000)]
modified to use new Makefile.inc to build up object list;
added generation of config.h and a prebuild target to create all neded files.

20 years agoadded Makefile.inc which can be included from other makefiles to reduce maintaining.
Gunter Knauf [Sat, 3 Jul 2004 17:49:40 +0000 (17:49 +0000)]
added Makefile.inc which can be included from other makefiles to reduce maintaining.

20 years agoI prefer CURLOPT_WRITEDATA before CURLOPT_FILE
Daniel Stenberg [Fri, 2 Jul 2004 14:00:49 +0000 (14:00 +0000)]
I prefer CURLOPT_WRITEDATA before CURLOPT_FILE

20 years agosnprintf instead of sprintf,
Daniel Stenberg [Fri, 2 Jul 2004 12:48:53 +0000 (12:48 +0000)]
snprintf instead of sprintf,
better support for HUGE files with the -# progress bar

20 years agoadded typecasts to please compilers
Daniel Stenberg [Fri, 2 Jul 2004 12:29:15 +0000 (12:29 +0000)]
added typecasts to please compilers

20 years agovariable type cleanup to hush compilers,
Daniel Stenberg [Fri, 2 Jul 2004 12:28:57 +0000 (12:28 +0000)]
variable type cleanup to hush compilers,
killed trailing whitespace

20 years agoexplicit typecasts to double to prevent warnings about implicit conversions
Daniel Stenberg [Fri, 2 Jul 2004 11:56:26 +0000 (11:56 +0000)]
explicit typecasts to double to prevent warnings about implicit conversions
that might lose accuracy

20 years agocurl_share_cleanup fix
Daniel Stenberg [Fri, 2 Jul 2004 11:27:06 +0000 (11:27 +0000)]
curl_share_cleanup fix

20 years agomake clean now removes getdate.c
Daniel Stenberg [Fri, 2 Jul 2004 11:25:13 +0000 (11:25 +0000)]
make clean now removes getdate.c

20 years agoconfigure --disable-http works these days
Daniel Stenberg [Fri, 2 Jul 2004 09:14:46 +0000 (09:14 +0000)]
configure --disable-http works these days

20 years agoAndrés García found out the share cleanup code crashes when you cleanup
Daniel Stenberg [Fri, 2 Jul 2004 08:28:31 +0000 (08:28 +0000)]
Andrés García found out the share cleanup code crashes when you cleanup
and there are not lock/unlock functions set!

20 years agotypecase the argument to curl_easy_strerror() to a CURLcode to please
Daniel Stenberg [Thu, 1 Jul 2004 14:06:44 +0000 (14:06 +0000)]
typecase the argument to curl_easy_strerror() to a CURLcode to please
picky compilers

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