platform/upstream/curl.git
20 years agoAdded CURLOPT_POSTFIELDSIZE_LARGE to offer a large file version of the
Daniel Stenberg [Fri, 12 Mar 2004 08:55:47 +0000 (08:55 +0000)]
Added CURLOPT_POSTFIELDSIZE_LARGE to offer a large file version of the
CURLOPT_POSTFIELDSIZE option to allow really big HTTP POSTs.

20 years agoDavid Byron's fix to clear outs.filename
Daniel Stenberg [Fri, 12 Mar 2004 08:03:31 +0000 (08:03 +0000)]
David Byron's fix to clear outs.filename

20 years agodl and ulspeed are now curl_off_t so typecast them to double when we
Daniel Stenberg [Thu, 11 Mar 2004 21:51:55 +0000 (21:51 +0000)]
dl and ulspeed are now curl_off_t so typecast them to double when we
return their values

20 years agoOptimize the way libcurl uses CWD
Daniel Stenberg [Thu, 11 Mar 2004 21:49:56 +0000 (21:49 +0000)]
Optimize the way libcurl uses CWD

20 years agoMade max5data() take a curl_off_t size as argument instead of double. Should
Daniel Stenberg [Thu, 11 Mar 2004 21:48:15 +0000 (21:48 +0000)]
Made max5data() take a curl_off_t size as argument instead of double. Should
make the progress meter more accurate for large files. Also made the sprintf
usage in that function avoid floating point.

20 years agoadded that header fiddling the msvc users will enjoy
Daniel Stenberg [Thu, 11 Mar 2004 13:15:14 +0000 (13:15 +0000)]
added that header fiddling the msvc users will enjoy

20 years agoGisle Vanem's fixes to use CURL_SOCKET_BAD more instead of -1 for sockets.
Daniel Stenberg [Thu, 11 Mar 2004 13:13:35 +0000 (13:13 +0000)]
Gisle Vanem's fixes to use CURL_SOCKET_BAD more instead of -1 for sockets.

20 years agodon't let the EINTR stuff build on windows
Daniel Stenberg [Thu, 11 Mar 2004 12:57:04 +0000 (12:57 +0000)]
don't let the EINTR stuff build on windows

20 years agoUse more curl_off_t variables when doing the progress meter calculations and
Daniel Stenberg [Wed, 10 Mar 2004 16:20:33 +0000 (16:20 +0000)]
Use more curl_off_t variables when doing the progress meter calculations and
argument passing and try to convert to double only when providing data to the
external world.

20 years agouse the new OS define from lib/config-win32.h
Daniel Stenberg [Wed, 10 Mar 2004 16:07:19 +0000 (16:07 +0000)]
use the new OS define from lib/config-win32.h

20 years agomake loop variable size_t as well when looping to a size_t limit
Daniel Stenberg [Wed, 10 Mar 2004 16:03:12 +0000 (16:03 +0000)]
make loop variable size_t as well when looping to a size_t limit

20 years agocurl_socket_t mistakes cleanup
Daniel Stenberg [Wed, 10 Mar 2004 16:01:47 +0000 (16:01 +0000)]
curl_socket_t mistakes cleanup

20 years agoturn niflags into a define named NIFLAGS
Daniel Stenberg [Wed, 10 Mar 2004 15:24:56 +0000 (15:24 +0000)]
turn niflags into a define named NIFLAGS

20 years agoadded the Estonian one, removed the cyberservers one since it is dead and
Daniel Stenberg [Wed, 10 Mar 2004 11:30:19 +0000 (11:30 +0000)]
added the Estonian one, removed the cyberservers one since it is dead and
they don't respond to email

20 years agofixing
Daniel Stenberg [Wed, 10 Mar 2004 11:28:45 +0000 (11:28 +0000)]
fixing

20 years agoGisle Vanem improved build on Windows.
Daniel Stenberg [Wed, 10 Mar 2004 11:28:34 +0000 (11:28 +0000)]
Gisle Vanem improved build on Windows.

20 years agoNah, ignore the OS define in here. This is being included by ares and it
Daniel Stenberg [Wed, 10 Mar 2004 10:19:32 +0000 (10:19 +0000)]
Nah, ignore the OS define in here. This is being included by ares and it
certainly doesn't need the OS define.

20 years agoignore the icc warning 981 "operands are evaluated in unspecified order"
Daniel Stenberg [Wed, 10 Mar 2004 09:52:04 +0000 (09:52 +0000)]
ignore the icc warning 981 "operands are evaluated in unspecified order"

20 years agoMinor edit to avoid an unreachable break and to remove the extra {} body
Daniel Stenberg [Wed, 10 Mar 2004 09:50:12 +0000 (09:50 +0000)]
Minor edit to avoid an unreachable break and to remove the extra {} body
within the switch.

20 years agokeep the number of bytes read in a size_t variable
Daniel Stenberg [Wed, 10 Mar 2004 09:44:42 +0000 (09:44 +0000)]
keep the number of bytes read in a size_t variable

20 years agostrequal() returns int so we typecast the return to bool when we store the
Daniel Stenberg [Wed, 10 Mar 2004 09:41:37 +0000 (09:41 +0000)]
strequal() returns int so we typecast the return to bool when we store the
result as bool

20 years agostore times in time_t
Daniel Stenberg [Wed, 10 Mar 2004 09:36:43 +0000 (09:36 +0000)]
store times in time_t

20 years agoJeff Lawson fixed the SSL connection to deal with received signals during the
Daniel Stenberg [Wed, 10 Mar 2004 08:43:01 +0000 (08:43 +0000)]
Jeff Lawson fixed the SSL connection to deal with received signals during the
connect.

20 years agoNow requires an OS string defined by the config*.h file
Daniel Stenberg [Wed, 10 Mar 2004 08:15:50 +0000 (08:15 +0000)]
Now requires an OS string defined by the config*.h file

20 years agomake windows builds use the OS string "i386-pc-win32" instead of just "win32"
Daniel Stenberg [Wed, 10 Mar 2004 08:14:22 +0000 (08:14 +0000)]
make windows builds use the OS string "i386-pc-win32" instead of just "win32"
to make it more like other OS strings

20 years agouse size_t for string lengths
Daniel Stenberg [Wed, 10 Mar 2004 08:12:09 +0000 (08:12 +0000)]
use size_t for string lengths

20 years agoMake sure SIZEOF_CURL_OFF_T is defined before we check for it being > 4.
Daniel Stenberg [Wed, 10 Mar 2004 08:08:02 +0000 (08:08 +0000)]
Make sure SIZEOF_CURL_OFF_T is defined before we check for it being > 4.
It is only undefined when this file is included by others (like ares) and
in those cases it doesn't matter.

20 years agoremoved the #if 0'ed pragmas that disable warnings on msvc
Daniel Stenberg [Wed, 10 Mar 2004 07:04:31 +0000 (07:04 +0000)]
removed the #if 0'ed pragmas that disable warnings on msvc

20 years agomoved the curl_socket_t typedef downwards
Daniel Stenberg [Wed, 10 Mar 2004 07:03:13 +0000 (07:03 +0000)]
moved the curl_socket_t typedef downwards

20 years agoadded the new socket type
Daniel Stenberg [Tue, 9 Mar 2004 22:55:47 +0000 (22:55 +0000)]
added the new socket type

20 years agoUse curl_socket_t instead of int for holding sockets. The typedefs and
Daniel Stenberg [Tue, 9 Mar 2004 22:52:50 +0000 (22:52 +0000)]
Use curl_socket_t instead of int for holding sockets. The typedefs and
defines are in setup.h.

20 years agoAdded -I$(top_srcdir)/include, since lib/setup.h might include files from
Daniel Stenberg [Tue, 9 Mar 2004 21:49:46 +0000 (21:49 +0000)]
Added -I$(top_srcdir)/include, since lib/setup.h might include files from
the external curl include dir.

20 years agoonly build with the windows threading trace code if
Daniel Stenberg [Tue, 9 Mar 2004 21:42:43 +0000 (21:42 +0000)]
only build with the windows threading trace code if
DEBUG_THREADING_GETHOSTBYNAME is defined

20 years agoexplicit typecast to visualize that we really want the result of the
Daniel Stenberg [Tue, 9 Mar 2004 21:39:50 +0000 (21:39 +0000)]
explicit typecast to visualize that we really want the result of the
operation as a size_t

20 years agoTor Arntsen's fix to a AIX build problem
Daniel Stenberg [Tue, 9 Mar 2004 21:25:59 +0000 (21:25 +0000)]
Tor Arntsen's fix to a AIX build problem

20 years agoremove ares/aclocal.m4 before cvs update to prevent bad conflicts
Daniel Stenberg [Tue, 9 Mar 2004 11:24:36 +0000 (11:24 +0000)]
remove ares/aclocal.m4 before cvs update to prevent bad conflicts

20 years agomingw has str(n)casecmp() functions
Daniel Stenberg [Tue, 9 Mar 2004 10:18:09 +0000 (10:18 +0000)]
mingw has str(n)casecmp() functions

20 years agotimezone dummy to build better on Windows - Gisle Vanem
Daniel Stenberg [Tue, 9 Mar 2004 09:47:51 +0000 (09:47 +0000)]
timezone dummy to build better on Windows - Gisle Vanem

20 years agoGisle Vanem fixed the bad argc check
Daniel Stenberg [Tue, 9 Mar 2004 09:43:30 +0000 (09:43 +0000)]
Gisle Vanem fixed the bad argc check

20 years agothe error message stuff is for 7.12
Daniel Stenberg [Tue, 9 Mar 2004 09:38:16 +0000 (09:38 +0000)]
the error message stuff is for 7.12

20 years agoAndrés García-fix to make it build with mingw
Daniel Stenberg [Tue, 9 Mar 2004 08:38:25 +0000 (08:38 +0000)]
Andrés García-fix to make it build with mingw

20 years agoadded HAVE_IOCTLSOCKET here
Daniel Stenberg [Tue, 9 Mar 2004 08:35:33 +0000 (08:35 +0000)]
added HAVE_IOCTLSOCKET here

20 years agothis is generated, removed from CVS
Daniel Stenberg [Mon, 8 Mar 2004 16:29:45 +0000 (16:29 +0000)]
this is generated, removed from CVS

20 years agodon't compare signed/unsigned
Daniel Stenberg [Mon, 8 Mar 2004 16:20:51 +0000 (16:20 +0000)]
don't compare signed/unsigned

20 years agoRemoved John Clayton's really odd bug since its never been reported again and
Daniel Stenberg [Mon, 8 Mar 2004 14:04:10 +0000 (14:04 +0000)]
Removed John Clayton's really odd bug since its never been reported again and
it was quite a long time since he experienced that one.

20 years agomention error 64
Daniel Stenberg [Mon, 8 Mar 2004 13:57:38 +0000 (13:57 +0000)]
mention error 64

20 years agothe largefile for version_info fix
Daniel Stenberg [Mon, 8 Mar 2004 13:17:53 +0000 (13:17 +0000)]
the largefile for version_info fix

20 years agofread() returns a size_t
Daniel Stenberg [Mon, 8 Mar 2004 12:56:18 +0000 (12:56 +0000)]
fread() returns a size_t

20 years agouse curl standard source formatting
Daniel Stenberg [Mon, 8 Mar 2004 12:51:33 +0000 (12:51 +0000)]
use curl standard source formatting

20 years agotypecast enum to int to make it printf() properly
Daniel Stenberg [Mon, 8 Mar 2004 12:51:13 +0000 (12:51 +0000)]
typecast enum to int to make it printf() properly

20 years agovariable type fixes
Daniel Stenberg [Mon, 8 Mar 2004 12:48:09 +0000 (12:48 +0000)]
variable type fixes

20 years agoMoved the error message buffer into the glob struct as well.
Daniel Stenberg [Mon, 8 Mar 2004 12:47:37 +0000 (12:47 +0000)]
Moved the error message buffer into the glob struct as well.

20 years agoCommented the Curl_read() arguments.
Daniel Stenberg [Mon, 8 Mar 2004 12:37:46 +0000 (12:37 +0000)]
Commented the Curl_read() arguments.

20 years agosize_t/int fix
Daniel Stenberg [Mon, 8 Mar 2004 12:37:11 +0000 (12:37 +0000)]
size_t/int fix

20 years agostrlen() returns size_t
Daniel Stenberg [Mon, 8 Mar 2004 12:36:54 +0000 (12:36 +0000)]
strlen() returns size_t

20 years agowe ignore the ICC warning 1419 as well
Daniel Stenberg [Mon, 8 Mar 2004 11:37:12 +0000 (11:37 +0000)]
we ignore the ICC warning 1419 as well

20 years agowaitconnect() takes the timeout argument as a long
Daniel Stenberg [Mon, 8 Mar 2004 11:36:47 +0000 (11:36 +0000)]
waitconnect() takes the timeout argument as a long

20 years agostore size as size_t
Daniel Stenberg [Mon, 8 Mar 2004 11:33:49 +0000 (11:33 +0000)]
store size as size_t
use %zd when outputting size_t

20 years agodon't use 'register'
Daniel Stenberg [Mon, 8 Mar 2004 11:28:14 +0000 (11:28 +0000)]
don't use 'register'
make strtol() returns get stored in long variables
don't mix size_t with int

20 years agosize_t/int/long fixes
Daniel Stenberg [Mon, 8 Mar 2004 08:38:29 +0000 (08:38 +0000)]
size_t/int/long fixes

20 years agowe must not only support long long for Largefile to work, we must have
Daniel Stenberg [Mon, 8 Mar 2004 07:46:26 +0000 (07:46 +0000)]
we must not only support long long for Largefile to work, we must have
a curl_off_t type that is larger than 4 bytes

20 years agoissue 12 fixed, the final known outstanding issue to be done before 7.11.1
Daniel Stenberg [Fri, 5 Mar 2004 13:12:58 +0000 (13:12 +0000)]
issue 12 fixed, the final known outstanding issue to be done before 7.11.1

20 years agoissue 12 fix
Daniel Stenberg [Fri, 5 Mar 2004 12:54:18 +0000 (12:54 +0000)]
issue 12 fix

20 years agoanother include to prevent warnings
Daniel Stenberg [Fri, 5 Mar 2004 11:39:19 +0000 (11:39 +0000)]
another include to prevent warnings

20 years agotwo fixes, one new mirror
Daniel Stenberg [Fri, 5 Mar 2004 10:18:58 +0000 (10:18 +0000)]
two fixes, one new mirror

20 years agoclonk
Daniel Stenberg [Fri, 5 Mar 2004 10:14:46 +0000 (10:14 +0000)]
clonk

20 years agomore fixing to make the progress/getinfo stuff to work properly when doing
Daniel Stenberg [Fri, 5 Mar 2004 09:40:16 +0000 (09:40 +0000)]
more fixing to make the progress/getinfo stuff to work properly when doing
file: transfers too

20 years agoclearly tell that these are ftp response timeouts
Daniel Stenberg [Fri, 5 Mar 2004 09:37:48 +0000 (09:37 +0000)]
clearly tell that these are ftp response timeouts

20 years agoMajor rewrite of the test HTTP server to allow more fancy features to make
Daniel Stenberg [Fri, 5 Mar 2004 08:32:11 +0000 (08:32 +0000)]
Major rewrite of the test HTTP server to allow more fancy features to make
better tests with the issue12-patch applied.
This change also includes Andrés García's win32-fixes.
Made the logging look better/more readable in sws.log

20 years ago'make clean' should only remove the generated html files, index.html is not
Daniel Stenberg [Fri, 5 Mar 2004 08:01:55 +0000 (08:01 +0000)]
'make clean' should only remove the generated html files, index.html is not
one of them!

20 years agomention the D binding
Daniel Stenberg [Fri, 5 Mar 2004 07:57:07 +0000 (07:57 +0000)]
mention the D binding

20 years agoMultiple updates, most of them being proper formatting to create nice html
Daniel Stenberg [Fri, 5 Mar 2004 07:55:02 +0000 (07:55 +0000)]
Multiple updates, most of them being proper formatting to create nice html
links in the web pages, but also additional facts and removal of old crap.

20 years agoissue 12 fix is pending and is working in devel
Daniel Stenberg [Thu, 4 Mar 2004 16:19:12 +0000 (16:19 +0000)]
issue 12 fix is pending and is working in devel
added issue 24 - fix the progress meter for large files on slow networks to
not wrap

20 years agoWhen following to a new URL, we must make sure to call Curl_done() first,
Daniel Stenberg [Thu, 4 Mar 2004 16:13:33 +0000 (16:13 +0000)]
When following to a new URL, we must make sure to call Curl_done() first,
since the current connection must be taken care of properly before we move
on. Christopher R. Palmer reported a problem he found due to this mistake.

20 years agoAndrés García's patch to prevent warnings while compiling with mingw, mainly
Daniel Stenberg [Thu, 4 Mar 2004 15:32:18 +0000 (15:32 +0000)]
Andrés García's patch to prevent warnings while compiling with mingw, mainly
because it is now possible to have both WIN32 and HAVE_CONFIG_H defined.

20 years agouse size_t for the data, but keep the protos use ssize_t to better fit
Daniel Stenberg [Thu, 4 Mar 2004 15:25:06 +0000 (15:25 +0000)]
use size_t for the data, but keep the protos use ssize_t to better fit
with the existing transfer.c code

20 years agoinclude the proper header file too
Daniel Stenberg [Thu, 4 Mar 2004 15:23:57 +0000 (15:23 +0000)]
include the proper header file too

20 years agofix progress data to be updated properly for file: transfers, as reported
Daniel Stenberg [Thu, 4 Mar 2004 15:12:12 +0000 (15:12 +0000)]
fix progress data to be updated properly for file: transfers, as reported
by Jesse Noller

20 years agoprevent harmless compiler warning
Daniel Stenberg [Thu, 4 Mar 2004 12:57:12 +0000 (12:57 +0000)]
prevent harmless compiler warning

20 years agoDavid Byron's version resource fix
Daniel Stenberg [Thu, 4 Mar 2004 09:56:39 +0000 (09:56 +0000)]
David Byron's version resource fix

20 years agonew "version resource" file for windows builds
Daniel Stenberg [Thu, 4 Mar 2004 09:56:17 +0000 (09:56 +0000)]
new "version resource" file for windows builds

20 years agoshow curl --version output as well
Daniel Stenberg [Wed, 3 Mar 2004 14:46:37 +0000 (14:46 +0000)]
show curl --version output as well

20 years agolargefile bit for the version_info and now winsock 1.1 only
Daniel Stenberg [Wed, 3 Mar 2004 14:39:47 +0000 (14:39 +0000)]
largefile bit for the version_info and now winsock 1.1 only

20 years agoDavid Byron's work on making libcurl only require winsock 1.1 on Windows
Daniel Stenberg [Wed, 3 Mar 2004 13:32:56 +0000 (13:32 +0000)]
David Byron's work on making libcurl only require winsock 1.1 on Windows
machines.

20 years agothree days of changes
Daniel Stenberg [Wed, 3 Mar 2004 13:30:18 +0000 (13:30 +0000)]
three days of changes

20 years agomore variable type cleanups
Daniel Stenberg [Wed, 3 Mar 2004 13:24:14 +0000 (13:24 +0000)]
more variable type cleanups

20 years agoour timeout values are longs while 'tv_sec' is int
Daniel Stenberg [Wed, 3 Mar 2004 13:17:44 +0000 (13:17 +0000)]
our timeout values are longs while 'tv_sec' is int

20 years agomake the backup variable of the same kind as the data it backups! ;-)
Daniel Stenberg [Wed, 3 Mar 2004 13:12:30 +0000 (13:12 +0000)]
make the backup variable of the same kind as the data it backups! ;-)

20 years agosome more size_t usage, and two added typecasts when converting from size_t
Daniel Stenberg [Wed, 3 Mar 2004 13:11:28 +0000 (13:11 +0000)]
some more size_t usage, and two added typecasts when converting from size_t
to long (MIPSpro warnings)

20 years agotv_sec is an int, so we explicitly typecast the result of long - long to
Daniel Stenberg [Wed, 3 Mar 2004 13:07:32 +0000 (13:07 +0000)]
tv_sec is an int, so we explicitly typecast the result of long - long to
an int when we assign it.

20 years agoattempted typecase to silence the MIPSpro warning:
Daniel Stenberg [Wed, 3 Mar 2004 13:03:35 +0000 (13:03 +0000)]
attempted typecase to silence the MIPSpro warning:

cc-1506 cc: REMARK File = ../../curl/ares/ares__read_line.c, Line = 46
There is an implicit conversion from "unsigned long" to "int"; rounding, sign
extension, or loss of accuracy may result.

if (!fgets(*buf + offset, *bufsize - offset, fp))

20 years ago#ifdef #define #undef circus to prevent compiler warnings on #if operations
Daniel Stenberg [Wed, 3 Mar 2004 12:37:15 +0000 (12:37 +0000)]
#ifdef #define #undef circus to prevent compiler warnings on #if operations
with undefined variables.

20 years agoremoved include stuff now handled by test.h
Daniel Stenberg [Wed, 3 Mar 2004 10:09:30 +0000 (10:09 +0000)]
removed include stuff now handled by test.h

20 years agoWe let this file include more generic headers that many libtests need anyway
Daniel Stenberg [Wed, 3 Mar 2004 10:09:16 +0000 (10:09 +0000)]
We let this file include more generic headers that many libtests need anyway
to reduce the amount of #include stuff in each single libNNN.c file.
unistd.h was added to prevent select() warnings on FreeBSD

20 years agoTom Bates' adjustment to build on his nsr-tandem-nsk.
Daniel Stenberg [Wed, 3 Mar 2004 09:27:18 +0000 (09:27 +0000)]
Tom Bates' adjustment to build on his nsr-tandem-nsk.

20 years agorename struct FILE to FILEPROTO, to prevent it from causing trouble with
Daniel Stenberg [Wed, 3 Mar 2004 09:25:59 +0000 (09:25 +0000)]
rename struct FILE to FILEPROTO, to prevent it from causing trouble with
the plain old FILE typedef.

20 years agoDan Fandrich fixed some GSS detection flaws
Daniel Stenberg [Wed, 3 Mar 2004 09:16:36 +0000 (09:16 +0000)]
Dan Fandrich fixed some GSS detection flaws

20 years agocorrected the reuse_fresh condition
Daniel Stenberg [Tue, 2 Mar 2004 14:00:44 +0000 (14:00 +0000)]
corrected the reuse_fresh condition

20 years agolarge file in jan 2004
Daniel Stenberg [Tue, 2 Mar 2004 10:22:05 +0000 (10:22 +0000)]
large file in jan 2004

20 years agovarious updates
Daniel Stenberg [Tue, 2 Mar 2004 10:08:04 +0000 (10:08 +0000)]
various updates