platform/upstream/curl.git
19 years agorecent fixes
Daniel Stenberg [Thu, 11 Nov 2004 09:51:12 +0000 (09:51 +0000)]
recent fixes

19 years agodates from 2038 or later now return 0x7fffffff when 32 bit time_t is used
Daniel Stenberg [Thu, 11 Nov 2004 09:26:09 +0000 (09:26 +0000)]
dates from 2038 or later now return 0x7fffffff when 32 bit time_t is used

19 years agofix curl.h include
Daniel Stenberg [Thu, 11 Nov 2004 08:03:43 +0000 (08:03 +0000)]
fix curl.h include

19 years agoconfigure --with-gssapi fix
Daniel Stenberg [Wed, 10 Nov 2004 21:43:41 +0000 (21:43 +0000)]
configure --with-gssapi fix

19 years agoGisle's CURL_EXTERN fix
Daniel Stenberg [Wed, 10 Nov 2004 15:50:33 +0000 (15:50 +0000)]
Gisle's CURL_EXTERN fix

19 years agoReplace IsNT with IS_NT().
Gisle Vanem [Wed, 10 Nov 2004 14:30:25 +0000 (14:30 +0000)]
Replace IsNT with IS_NT().

19 years agoReplace IsNT with IS_NT().
Gisle Vanem [Wed, 10 Nov 2004 14:23:20 +0000 (14:23 +0000)]
Replace IsNT with IS_NT().
Return correct timeval in windows_port.c.
Squelch gcc warnings:
  use 'ares_socket_t' in ares_fds.c.
  Don't cast a 'lvalue' in ares_init.c.

19 years agofix CURL_EXTERN for debug builds
Daniel Stenberg [Tue, 9 Nov 2004 18:10:51 +0000 (18:10 +0000)]
fix CURL_EXTERN for debug builds

19 years agoHandle drive-letter on MS-DOS.
Gisle Vanem [Tue, 9 Nov 2004 14:57:11 +0000 (14:57 +0000)]
Handle drive-letter on MS-DOS.

19 years agoRemoved libcurl.def
Gisle Vanem [Tue, 9 Nov 2004 14:55:23 +0000 (14:55 +0000)]
Removed libcurl.def

19 years agowith all external functions marked with CURL_EXTERN it is easy to count them
Daniel Stenberg [Tue, 9 Nov 2004 14:42:04 +0000 (14:42 +0000)]
with all external functions marked with CURL_EXTERN it is easy to count them
and... yes, they are 46!

19 years agoChanges for removing libcurl.def file on Win32.
Gisle Vanem [Tue, 9 Nov 2004 14:02:58 +0000 (14:02 +0000)]
Changes for removing libcurl.def file on Win32.
Mark public functions with "CURL_EXTERN".

19 years agoChanges for removing libcurl.def file on Win32.
Gisle Vanem [Tue, 9 Nov 2004 14:00:56 +0000 (14:00 +0000)]
Changes for removing libcurl.def file on Win32.
Added "CURL_EXTERN" to memdebug.h functions.
Cleaned up Makefile.vc6.

19 years agotoday's work
Daniel Stenberg [Mon, 8 Nov 2004 21:39:18 +0000 (21:39 +0000)]
today's work

19 years agoanother lame change in an attempt to fix the moot gcc 3.4 warning
Daniel Stenberg [Mon, 8 Nov 2004 21:31:57 +0000 (21:31 +0000)]
another lame change in an attempt to fix the moot gcc 3.4 warning

19 years agoweirdo hack to fix debian bug report 278691:
Daniel Stenberg [Mon, 8 Nov 2004 19:41:28 +0000 (19:41 +0000)]
weirdo hack to fix debian bug report 278691:
'curl -v writes debugging to its network socket if stderr is closed'

19 years agoadded a default in the switch in an attempt to avoid the moot "will never be
Daniel Stenberg [Mon, 8 Nov 2004 14:46:05 +0000 (14:46 +0000)]
added a default in the switch in an attempt to avoid the moot "will never be
executed" warning by gcc 3.4.0

19 years agoChange OS name. Fix header guard.
Gisle Vanem [Mon, 8 Nov 2004 14:21:24 +0000 (14:21 +0000)]
Change OS name. Fix header guard.

19 years agoUn-do changes for WinCE; cdecl decoration is not needed.
Gisle Vanem [Mon, 8 Nov 2004 14:20:14 +0000 (14:20 +0000)]
Un-do changes for WinCE; cdecl decoration is not needed.
Confirmed by Paul Nolan.

19 years agocheck for and require tld.h to be present before libidn usage is activated
Daniel Stenberg [Mon, 8 Nov 2004 07:47:08 +0000 (07:47 +0000)]
check for and require tld.h to be present before libidn usage is activated
in the build, since libidn 0.3.X didn't have the header and we don't support
that old libidn versions anyway.

This was mentioned on the list by Jean-Philippe Barrette-LaPierre and in bug
report #1062264.

19 years agotwo post-1.2.1 changes
Daniel Stenberg [Sun, 7 Nov 2004 23:48:42 +0000 (23:48 +0000)]
two post-1.2.1 changes

19 years agoadded ares_cancel and ares_version
Daniel Stenberg [Sun, 7 Nov 2004 13:37:07 +0000 (13:37 +0000)]
added ares_cancel and ares_version

19 years agoTim Sneddon's VMS fix for huge HTTP POSTs
Daniel Stenberg [Fri, 5 Nov 2004 14:43:35 +0000 (14:43 +0000)]
Tim Sneddon's VMS fix for huge HTTP POSTs

19 years agoremoved errno, added EAGAIN
Daniel Stenberg [Fri, 5 Nov 2004 08:22:46 +0000 (08:22 +0000)]
removed errno, added EAGAIN

19 years agoit has a sys/stat.h file, according to Paul Nolan
Daniel Stenberg [Fri, 5 Nov 2004 08:19:34 +0000 (08:19 +0000)]
it has a sys/stat.h file, according to Paul Nolan

19 years agoupdate
Daniel Stenberg [Thu, 4 Nov 2004 16:18:50 +0000 (16:18 +0000)]
update

19 years agomore retry stuff
Daniel Stenberg [Thu, 4 Nov 2004 16:17:23 +0000 (16:17 +0000)]
more retry stuff

19 years agotest server port numbers are now easily changed
Daniel Stenberg [Thu, 4 Nov 2004 16:15:26 +0000 (16:15 +0000)]
test server port numbers are now easily changed

19 years agodelete trailing whitespace
Daniel Stenberg [Thu, 4 Nov 2004 16:14:33 +0000 (16:14 +0000)]
delete trailing whitespace

19 years agobased Andres Garcia's patch, added for mingw build
Daniel Stenberg [Thu, 4 Nov 2004 14:19:22 +0000 (14:19 +0000)]
based Andres Garcia's patch, added for mingw build

19 years agorecent changes
Daniel Stenberg [Tue, 2 Nov 2004 21:46:27 +0000 (21:46 +0000)]
recent changes

19 years agouse ifdef not if
Daniel Stenberg [Tue, 2 Nov 2004 14:02:29 +0000 (14:02 +0000)]
use ifdef not if

19 years agoPaul Nolan fix to make libcurl build nicely on Windows CE
Daniel Stenberg [Tue, 2 Nov 2004 10:12:22 +0000 (10:12 +0000)]
Paul Nolan fix to make libcurl build nicely on Windows CE

19 years agodocumented the current --retry options
Daniel Stenberg [Tue, 2 Nov 2004 09:43:50 +0000 (09:43 +0000)]
documented the current --retry options

19 years agomodified to not use realloc() on a NULL pointer
Daniel Stenberg [Tue, 2 Nov 2004 08:26:55 +0000 (08:26 +0000)]
modified to not use realloc() on a NULL pointer

19 years agoWhen cross-compiling, the configure script no longer attempts to use
Daniel Stenberg [Mon, 1 Nov 2004 22:50:59 +0000 (22:50 +0000)]
When cross-compiling, the configure script no longer attempts to use
pkg-config on the build host in order to detect OpenSSL compiler options.

19 years agoFixed _write() arguments.
Gisle Vanem [Thu, 28 Oct 2004 13:18:09 +0000 (13:18 +0000)]
Fixed _write() arguments.

19 years ago*** empty log message ***
Gisle Vanem [Thu, 28 Oct 2004 13:13:29 +0000 (13:13 +0000)]
*** empty log message ***

19 years agouse longs
Daniel Stenberg [Thu, 28 Oct 2004 07:23:19 +0000 (07:23 +0000)]
use longs

19 years agoDan Fandrich's gzip handling fix
Daniel Stenberg [Wed, 27 Oct 2004 21:46:11 +0000 (21:46 +0000)]
Dan Fandrich's gzip handling fix

19 years agoAdded --retry and --retry-delay first attempt with four related test cases.
Daniel Stenberg [Wed, 27 Oct 2004 21:29:55 +0000 (21:29 +0000)]
Added --retry and --retry-delay first attempt with four related test cases.

19 years agolog client disconnects
Daniel Stenberg [Wed, 27 Oct 2004 14:18:57 +0000 (14:18 +0000)]
log client disconnects

19 years agoTesting to define _REENTRANT unconditionally in here.
Daniel Stenberg [Tue, 26 Oct 2004 13:31:55 +0000 (13:31 +0000)]
Testing to define _REENTRANT unconditionally in here.

19 years agomention how LDFLAGS=-R can be used (or LD_LIBRARY_PATH or ld.so.conf)
Daniel Stenberg [Tue, 26 Oct 2004 08:09:16 +0000 (08:09 +0000)]
mention how LDFLAGS=-R can be used (or LD_LIBRARY_PATH or ld.so.conf)

19 years agomention incompatibilities with ares
Daniel Stenberg [Tue, 26 Oct 2004 08:08:41 +0000 (08:08 +0000)]
mention incompatibilities with ares

19 years agoTomas Pospisek filed bug report #1053287 that proved -C - and --fail on a
Daniel Stenberg [Mon, 25 Oct 2004 11:28:40 +0000 (11:28 +0000)]
Tomas Pospisek filed bug report #1053287 that proved -C - and --fail on a
file that was already completely downloaded caused an error, while it
doesn't if you don't use --fail! I added test case 194 to verify the fix.
Grrr. CURLOPT_FAILONERROR is now added to the list stuff to remove in
libcurl v8 due to all the kludges needed to support it.

19 years agojust nicer output when this is seen
Daniel Stenberg [Mon, 25 Oct 2004 11:28:15 +0000 (11:28 +0000)]
just nicer output when this is seen

19 years agothe array sizes _can_ differ and the arrays can still match, since chomp
Daniel Stenberg [Mon, 25 Oct 2004 11:28:01 +0000 (11:28 +0000)]
the array sizes _can_ differ and the arrays can still match, since chomp
is used at times but it doesn't decrease the array size

19 years agoformat update
Daniel Stenberg [Mon, 25 Oct 2004 11:05:37 +0000 (11:05 +0000)]
format update

19 years agoMohun Biswas found out that formposting a zero-byte file didn't work very
Daniel Stenberg [Sun, 24 Oct 2004 22:31:40 +0000 (22:31 +0000)]
Mohun Biswas found out that formposting a zero-byte file didn't work very
good. I fixed.

19 years agoignore this
Daniel Stenberg [Sun, 24 Oct 2004 13:02:46 +0000 (13:02 +0000)]
ignore this

19 years agomaketgz now creates a ares_version.h.dist file with the given version data
Daniel Stenberg [Sun, 24 Oct 2004 13:02:09 +0000 (13:02 +0000)]
maketgz now creates a ares_version.h.dist file with the given version data
properly set, and the Makefile.am is now fixed to use that when building
a new package with make dist.

19 years agoDan Fandrich's better ifdef for include fix
Daniel Stenberg [Thu, 21 Oct 2004 08:22:07 +0000 (08:22 +0000)]
Dan Fandrich's better ifdef for include fix

19 years ago1.2.1 release time
Daniel Stenberg [Wed, 20 Oct 2004 08:01:38 +0000 (08:01 +0000)]
1.2.1 release time

20 years agothis change was reverted since it broke on solaris
Daniel Stenberg [Tue, 19 Oct 2004 18:50:46 +0000 (18:50 +0000)]
this change was reverted since it broke on solaris

20 years agoiconv 2.1.3 is considered bad for test case 165
Daniel Stenberg [Tue, 19 Oct 2004 18:49:31 +0000 (18:49 +0000)]
iconv 2.1.3 is considered bad for test case 165

20 years agorevert the charset fix as it broke the solaris tests (native iconv doesn't
Daniel Stenberg [Tue, 19 Oct 2004 18:46:12 +0000 (18:46 +0000)]
revert the charset fix as it broke the solaris tests (native iconv doesn't
like that name)

20 years agoRalph Mitchell fixed: input field with NAME= and VALUE= weren't processed
Daniel Stenberg [Tue, 19 Oct 2004 18:36:17 +0000 (18:36 +0000)]
Ralph Mitchell fixed: input field with NAME= and VALUE= weren't processed
properly case insensitive

20 years agoAlexander Krasnostavsky made it possible to make FTP 3rd party transfers with
Daniel Stenberg [Tue, 19 Oct 2004 18:26:35 +0000 (18:26 +0000)]
Alexander Krasnostavsky made it possible to make FTP 3rd party transfers with
both source and destination being the same host. It can be useful if you want
to move a file on a server or similar.

20 years agosnart isn't really used these days so we cut out the reference to it
Daniel Stenberg [Tue, 19 Oct 2004 15:34:05 +0000 (15:34 +0000)]
snart isn't really used these days so we cut out the reference to it

20 years agoadded num_connects
Daniel Stenberg [Tue, 19 Oct 2004 15:32:31 +0000 (15:32 +0000)]
added num_connects

20 years agoCURLINFO_NUM_CONNECTS and more
Daniel Stenberg [Tue, 19 Oct 2004 15:30:08 +0000 (15:30 +0000)]
CURLINFO_NUM_CONNECTS and more

20 years agodjgpp has locale.h and setlocale().
Gisle Vanem [Tue, 19 Oct 2004 10:14:06 +0000 (10:14 +0000)]
djgpp has locale.h and setlocale().

20 years agoAll Win compilers have locale.h + setlocale().
Gisle Vanem [Tue, 19 Oct 2004 10:13:26 +0000 (10:13 +0000)]
All Win compilers have locale.h + setlocale().

20 years agobug 1049275 fixes test 165
Daniel Stenberg [Tue, 19 Oct 2004 06:04:25 +0000 (06:04 +0000)]
bug 1049275 fixes test 165

20 years agoPeter Wullinger pointed out that curl should call setlocale() properly to
Daniel Stenberg [Mon, 18 Oct 2004 13:37:18 +0000 (13:37 +0000)]
Peter Wullinger pointed out that curl should call setlocale() properly to
initiate the specific language operations, to make the IDN stuff work better.

20 years agostart over on 7.12.3
Daniel Stenberg [Mon, 18 Oct 2004 08:42:44 +0000 (08:42 +0000)]
start over on 7.12.3

20 years ago7.12.2
Daniel Stenberg [Mon, 18 Oct 2004 07:48:28 +0000 (07:48 +0000)]
7.12.2

20 years agonew mirror
Daniel Stenberg [Sun, 17 Oct 2004 07:48:00 +0000 (07:48 +0000)]
new mirror

20 years agotoday's changes
Daniel Stenberg [Sat, 16 Oct 2004 14:07:31 +0000 (14:07 +0000)]
today's changes

20 years agoAlexander Krasnostavsky made the CURLOPT_FTP_CREATE_MISSING_DIRS option work
Daniel Stenberg [Sat, 16 Oct 2004 14:06:54 +0000 (14:06 +0000)]
Alexander Krasnostavsky made the CURLOPT_FTP_CREATE_MISSING_DIRS option work
fine even for third party transfers.

20 years agolibcurl leaked memory for cookies with the "max-age" field set.
Daniel Stenberg [Sat, 16 Oct 2004 13:54:40 +0000 (13:54 +0000)]
libcurl leaked memory for cookies with the "max-age" field set.

20 years agoChanges for issue 50
Gisle Vanem [Sat, 16 Oct 2004 13:20:33 +0000 (13:20 +0000)]
Changes for issue 50

20 years agoOpen "debugit" in binary mode ("rb").
Gisle Vanem [Sat, 16 Oct 2004 13:17:15 +0000 (13:17 +0000)]
Open "debugit" in binary mode ("rb").

20 years agoAdded Traian Nicolescu's patches for threaded resolver on
Gisle Vanem [Sat, 16 Oct 2004 12:59:05 +0000 (12:59 +0000)]
Added Traian Nicolescu's patches for threaded resolver on
Windows. Plugged some potential handle and memory leaks.

Refs.
  http://curl.haxx.se/mail/lib-2004-10/0134.html
  http://curl.haxx.se/mail/lib-2004-10/0157.html

20 years agoEric Vergnaud pointed out that libcurl didn't treat ?-letters in the user name
Daniel Stenberg [Thu, 14 Oct 2004 13:44:54 +0000 (13:44 +0000)]
Eric Vergnaud pointed out that libcurl didn't treat ?-letters in the user name
and password fields properly in URLs, like
ftp://us?er:pass?word@site.com/. Added test 191 to verify the fix.

20 years agouse quotes to make gdb usage on this easier
Daniel Stenberg [Thu, 14 Oct 2004 13:44:16 +0000 (13:44 +0000)]
use quotes to make gdb usage on this easier

20 years agolet's fix this too
Daniel Stenberg [Thu, 14 Oct 2004 13:34:42 +0000 (13:34 +0000)]
let's fix this too

20 years agoSet errno = ENOMEM on faild countcheck().
Gisle Vanem [Wed, 13 Oct 2004 19:11:46 +0000 (19:11 +0000)]
Set errno = ENOMEM on faild countcheck().

20 years ago.NET binding
Daniel Stenberg [Wed, 13 Oct 2004 08:46:36 +0000 (08:46 +0000)]
.NET binding

20 years agocorrection
Daniel Stenberg [Tue, 12 Oct 2004 18:20:36 +0000 (18:20 +0000)]
correction

20 years ago#include "strerror.h" to get the strerror proto
Daniel Stenberg [Tue, 12 Oct 2004 12:49:38 +0000 (12:49 +0000)]
#include "strerror.h" to get the strerror proto

20 years agorecent fixes
Daniel Stenberg [Tue, 12 Oct 2004 12:47:38 +0000 (12:47 +0000)]
recent fixes

20 years agoone item fixed, one added for 7.12.2 and two more for 7.12.3
Daniel Stenberg [Tue, 12 Oct 2004 12:47:31 +0000 (12:47 +0000)]
one item fixed, one added for 7.12.2 and two more for 7.12.3

20 years agoadd proper error message when send() fails
Daniel Stenberg [Tue, 12 Oct 2004 07:24:19 +0000 (07:24 +0000)]
add proper error message when send() fails

20 years agoremoved trailing whitespace
Daniel Stenberg [Mon, 11 Oct 2004 17:26:24 +0000 (17:26 +0000)]
removed trailing whitespace

20 years agoSO_NOSIGPIPE
Daniel Stenberg [Mon, 11 Oct 2004 17:23:41 +0000 (17:23 +0000)]
SO_NOSIGPIPE

20 years agoanother lame attempt to avoid the "warning: will never be executed" warning
Daniel Stenberg [Sun, 10 Oct 2004 14:36:22 +0000 (14:36 +0000)]
another lame attempt to avoid the "warning: will never be executed" warning
by gcc 3.4

20 years agoMSVC uses 'i64' suffix for 64-bit sizes.
Gisle Vanem [Sun, 10 Oct 2004 14:08:05 +0000 (14:08 +0000)]
MSVC uses 'i64' suffix for 64-bit sizes.

20 years agoattempt to make the configure output appear in the build log when it runs
Daniel Stenberg [Sun, 10 Oct 2004 07:51:25 +0000 (07:51 +0000)]
attempt to make the configure output appear in the build log when it runs
on my solaris 2.7 box too (currently unknown perl version)

20 years agoset the SIZEOF_LONG define to get the new lib/strtoofft.h fine
Daniel Stenberg [Sun, 10 Oct 2004 07:45:41 +0000 (07:45 +0000)]
set the SIZEOF_LONG define to get the new lib/strtoofft.h fine

20 years agoIf long is 8 bytes we can use strtol() to get 64 bit numbers and won't need
Daniel Stenberg [Sun, 10 Oct 2004 03:39:59 +0000 (03:39 +0000)]
If long is 8 bytes we can use strtol() to get 64 bit numbers and won't need
our strtoll() replacement function.

20 years agoPrevent a longjmp warning by moving the rc assign within Curl_resolv().
Daniel Stenberg [Sun, 10 Oct 2004 03:32:01 +0000 (03:32 +0000)]
Prevent a longjmp warning by moving the rc assign within Curl_resolv().
Andy Cedilnik reported. Warning on HP-UX?

20 years agoUse LL suffix for long long constants if the compiler supports it, to prevent
Daniel Stenberg [Sun, 10 Oct 2004 03:28:51 +0000 (03:28 +0000)]
Use LL suffix for long long constants if the compiler supports it, to prevent
warnings.

20 years agoIf long long is supported, check if [num]LL is supported for numerical
Daniel Stenberg [Sun, 10 Oct 2004 03:22:45 +0000 (03:22 +0000)]
If long long is supported, check if [num]LL is supported for numerical
constants.

20 years ago--enable-ares on AIX has problem
Daniel Stenberg [Fri, 8 Oct 2004 12:59:36 +0000 (12:59 +0000)]
--enable-ares on AIX has problem

20 years agoUse 'struct lifreq' and SIOCGLIFADDR
Daniel Stenberg [Fri, 8 Oct 2004 09:57:33 +0000 (09:57 +0000)]
Use 'struct lifreq' and SIOCGLIFADDR

20 years agokilled trailing whitespace
Daniel Stenberg [Fri, 8 Oct 2004 09:39:37 +0000 (09:39 +0000)]
killed trailing whitespace

20 years agoif basename was found, check for a prototype and if none was found, provide
Daniel Stenberg [Fri, 8 Oct 2004 08:18:08 +0000 (08:18 +0000)]
if basename was found, check for a prototype and if none was found, provide
our own in the formdata.c file to prevent warnings on systems without it

20 years agoprevent warning with comparison between signed and unsigned
Daniel Stenberg [Fri, 8 Oct 2004 08:16:02 +0000 (08:16 +0000)]
prevent warning with comparison between signed and unsigned