platform/upstream/curl.git
18 years agoPrint usage in case 'arg2 == NULL'.
Gisle Vanem [Sat, 9 Sep 2006 16:55:21 +0000 (16:55 +0000)]
Print usage in case 'arg2 == NULL'.

18 years agoDuplicate iconv-data too in curl_easy_duphandle().
Gisle Vanem [Sat, 9 Sep 2006 16:36:05 +0000 (16:36 +0000)]
Duplicate iconv-data too in curl_easy_duphandle().

18 years agoCompiler warning fix
Yang Tse [Sat, 9 Sep 2006 13:24:42 +0000 (13:24 +0000)]
Compiler warning fix

18 years agoMichele Bini fixed how the hostname is put in NTLM packages. As servers
Daniel Stenberg [Sat, 9 Sep 2006 11:45:27 +0000 (11:45 +0000)]
Michele Bini fixed how the hostname is put in NTLM packages. As servers
don't expect fully qualified names we need to cut them off at the first dot.

18 years agotab => space
Daniel Stenberg [Sat, 9 Sep 2006 11:45:05 +0000 (11:45 +0000)]
tab => space

18 years agoPeter Sylvester cleaned up and fixed the getsockname() uses in ftp.c. Some
Daniel Stenberg [Fri, 8 Sep 2006 22:17:39 +0000 (22:17 +0000)]
Peter Sylvester cleaned up and fixed the getsockname() uses in ftp.c. Some
of them can be completetly removed though...

18 years agosignal() returns 'void (*)(int)'.
Gisle Vanem [Fri, 8 Sep 2006 13:06:41 +0000 (13:06 +0000)]
signal() returns 'void (*)(int)'.

18 years agoMention that CURLOPT_MAX_RECV/SEND* were added in 7.15.5
Daniel Stenberg [Fri, 8 Sep 2006 12:46:41 +0000 (12:46 +0000)]
Mention that CURLOPT_MAX_RECV/SEND* were added in 7.15.5

18 years agoUpdate comment reflecting structure change.
Gisle Vanem [Fri, 8 Sep 2006 12:17:58 +0000 (12:17 +0000)]
Update comment reflecting structure change.

18 years agoremoved the comment that isn't valid for this file, just a copy'n paste error
Daniel Stenberg [Fri, 8 Sep 2006 12:03:55 +0000 (12:03 +0000)]
removed the comment that isn't valid for this file, just a copy'n paste error

18 years agoCompilation fix; 'reqdata' is not a pointer. 'path' is part of SessionHandle.
Gisle Vanem [Fri, 8 Sep 2006 12:03:39 +0000 (12:03 +0000)]
Compilation fix; 'reqdata' is not a pointer. 'path' is part of SessionHandle.

18 years agotest 530 is the first ever HTTP pipelining test for libcurl
Daniel Stenberg [Fri, 8 Sep 2006 11:56:56 +0000 (11:56 +0000)]
test 530 is the first ever HTTP pipelining test for libcurl

18 years agoCompilation fix
Yang Tse [Fri, 8 Sep 2006 05:18:07 +0000 (05:18 +0000)]
Compilation fix

18 years agoMajor overhaul introducing http pipelining support and shared connection
Daniel Stenberg [Thu, 7 Sep 2006 21:49:20 +0000 (21:49 +0000)]
Major overhaul introducing http pipelining support and shared connection
cache within the multi handle.

18 years agoFix compiler warning
Yang Tse [Thu, 7 Sep 2006 01:18:46 +0000 (01:18 +0000)]
Fix compiler warning

18 years agoInvoke memanalyze from the source path and hush up about killing the FTP
Daniel Stenberg [Wed, 6 Sep 2006 10:03:34 +0000 (10:03 +0000)]
Invoke memanalyze from the source path and hush up about killing the FTP
server as part of test cases

18 years agoadded some fresh new blurb
Daniel Stenberg [Tue, 5 Sep 2006 21:17:04 +0000 (21:17 +0000)]
added some fresh new blurb

18 years agospell fix and added Jari
Daniel Stenberg [Mon, 4 Sep 2006 22:21:32 +0000 (22:21 +0000)]
spell fix and added Jari

18 years agoJari Sundell's minor cleanup, added comments and some extra error-checkings
Daniel Stenberg [Mon, 4 Sep 2006 22:19:13 +0000 (22:19 +0000)]
Jari Sundell's minor cleanup, added comments and some extra error-checkings
for easier future error-tracking.

18 years agoI fell over a new libtool that starts with a newline so we need to fetch
Daniel Stenberg [Mon, 4 Sep 2006 08:53:28 +0000 (08:53 +0000)]
I fell over a new libtool that starts with a newline so we need to fetch
the two first lines to get the version string. The good news is that older
libtools have an empty line after the first so I think this works fine all
over...

18 years agooops, we're on the .6 track now
Daniel Stenberg [Mon, 4 Sep 2006 08:43:44 +0000 (08:43 +0000)]
oops, we're on the .6 track now

18 years agoproper credit
Daniel Stenberg [Mon, 4 Sep 2006 06:17:55 +0000 (06:17 +0000)]
proper credit

18 years ago- "Dortik" (http://curl.haxx.se/bug/view.cgi?id=1551412) provided a patch that
Daniel Stenberg [Sun, 3 Sep 2006 22:52:42 +0000 (22:52 +0000)]
- "Dortik" (curl.haxx.se/bug/view.cgi?id=1551412) provided a patch that
  while not fixing things very nicely, it does make the SOCKS5 proxy
  connection slightly better as it now acknowledges the timeout for connection
  and it no longer segfaults in the case when SOCKS requires authentication
  and you did not specify username:password.

18 years agoMohun Biswas' improvements and clarifications about the options and how to use
Daniel Stenberg [Sun, 3 Sep 2006 22:12:57 +0000 (22:12 +0000)]
Mohun Biswas' improvements and clarifications about the options and how to use
them.

18 years agoSimplified #ifdef on WIN32; the statement
Gisle Vanem [Sun, 3 Sep 2006 13:52:07 +0000 (13:52 +0000)]
Simplified #ifdef on WIN32; the statement
" !defined(__GNUC__) || defined(__MINGW32__)" implies
CygWin.

18 years agoWatcom lacks <sys/time.h>.
Gisle Vanem [Sun, 3 Sep 2006 13:45:42 +0000 (13:45 +0000)]
Watcom lacks <sys/time.h>.

18 years agoadded missing test
Daniel Stenberg [Thu, 31 Aug 2006 22:18:08 +0000 (22:18 +0000)]
added missing test

18 years agoDmitriy Sergeyev found and fixed a multi interface flaw when using asynch
Daniel Stenberg [Thu, 31 Aug 2006 12:53:39 +0000 (12:53 +0000)]
Dmitriy Sergeyev found and fixed a multi interface flaw when using asynch
name resolves. It could get stuck in the wrong state.

18 years agoAdded HAVE_SYS_TIME_H for djgpp and HighC.
Gisle Vanem [Wed, 30 Aug 2006 16:18:03 +0000 (16:18 +0000)]
Added HAVE_SYS_TIME_H for djgpp and HighC.

18 years agoRemoved "#ifndef__WATCOMC__". Use "#ifdef HAVE_SYS_TIME_H" instead.
Gisle Vanem [Wed, 30 Aug 2006 16:17:06 +0000 (16:17 +0000)]
Removed "#ifndef__WATCOMC__". Use "#ifdef HAVE_SYS_TIME_H" instead.

18 years agoAdded support for more MS-DOS compilers.
Gisle Vanem [Wed, 30 Aug 2006 12:10:30 +0000 (12:10 +0000)]
Added support for more MS-DOS compilers.

18 years agoAvoid Metaware's High-C warning "'=' encountered where '==' may have been intended."
Gisle Vanem [Tue, 29 Aug 2006 21:11:55 +0000 (21:11 +0000)]
Avoid Metaware's High-C warning "'=' encountered where '==' may have been intended."

18 years agoWatcom lacks <sys/time.h>.
Gisle Vanem [Tue, 29 Aug 2006 18:45:55 +0000 (18:45 +0000)]
Watcom lacks <sys/time.h>.

18 years agoAdded support for Watcom/DOS.
Gisle Vanem [Tue, 29 Aug 2006 18:40:36 +0000 (18:40 +0000)]
Added support for Watcom/DOS.

18 years agoUpdated dependency section.
Gisle Vanem [Tue, 29 Aug 2006 18:17:43 +0000 (18:17 +0000)]
Updated dependency section.

18 years agoDon't include zlib headers in dependency output.
Gisle Vanem [Tue, 29 Aug 2006 18:13:54 +0000 (18:13 +0000)]
Don't include zlib headers in dependency output.

18 years agoRenamed config.dj -> config.dos.
Gisle Vanem [Tue, 29 Aug 2006 16:40:47 +0000 (16:40 +0000)]
Renamed config.dj -> config.dos.

18 years agoUse config.dos instead. Updated generated dependencies.
Gisle Vanem [Tue, 29 Aug 2006 16:35:11 +0000 (16:35 +0000)]
Use config.dos instead.  Updated generated dependencies.

18 years agoRemoved. New file is config.dos.
Gisle Vanem [Tue, 29 Aug 2006 16:34:40 +0000 (16:34 +0000)]
Removed. New file is config.dos.

18 years agoRenamed config.dj -> config.dos. Added #ifdef-section for djgpp.
Gisle Vanem [Tue, 29 Aug 2006 16:33:41 +0000 (16:33 +0000)]
Renamed config.dj -> config.dos. Added #ifdef-section for djgpp.

18 years agoBUFSIZE defined in Metaware's <stdio.h>. Undefine to avoid warning.
Gisle Vanem [Tue, 29 Aug 2006 16:27:13 +0000 (16:27 +0000)]
BUFSIZE defined in Metaware's <stdio.h>. Undefine to avoid warning.

18 years agoSupport other MS-DOS compilers (MSDOS is a djgpp built-in define).
Gisle Vanem [Tue, 29 Aug 2006 16:26:41 +0000 (16:26 +0000)]
Support other MS-DOS compilers (MSDOS is a djgpp built-in define).

18 years agoMetaware's High-C has an ISO cpp.
Gisle Vanem [Tue, 29 Aug 2006 16:16:13 +0000 (16:16 +0000)]
Metaware's High-C has an ISO cpp.

18 years agoBrad Spencer did
Daniel Stenberg [Tue, 29 Aug 2006 15:17:47 +0000 (15:17 +0000)]
Brad Spencer did
 o made ares_version.h use extern "C" for c++ compilers
 o fixed compiler warnings in ares_getnameinfo.c
 o fixed a buffer position init for TCP reads

18 years agoDavid McCreedy added CURLOPT_SOCKOPTFUNCTION and CURLOPT_SOCKOPTDATA to
Daniel Stenberg [Tue, 29 Aug 2006 14:39:33 +0000 (14:39 +0000)]
David McCreedy added CURLOPT_SOCKOPTFUNCTION and CURLOPT_SOCKOPTDATA to
allow applications to set their own socket options.

18 years agoArmel Asselin reported that the 'running_handles' counter wasn't updated
Daniel Stenberg [Fri, 25 Aug 2006 13:53:20 +0000 (13:53 +0000)]
Armel Asselin reported that the 'running_handles' counter wasn't updated
properly if you removed a "live" handle from a multi handle with
curl_multi_remove_handle().

18 years agoclarify the string syntax support in the CURLOPT_PROXY section
Daniel Stenberg [Wed, 23 Aug 2006 21:49:44 +0000 (21:49 +0000)]
clarify the string syntax support in the CURLOPT_PROXY section

18 years agoUse /usr/bin/env to invoke perl like the other test scripts.
Dan Fandrich [Wed, 23 Aug 2006 21:20:00 +0000 (21:20 +0000)]
Use /usr/bin/env to invoke perl like the other test scripts.

18 years agoDavid McCreedy fixed a remaining mistake from the August 19 TYPE change.
Daniel Stenberg [Tue, 22 Aug 2006 21:23:25 +0000 (21:23 +0000)]
David McCreedy fixed a remaining mistake from the August 19 TYPE change.

18 years agoPeter Sylvester pointed out a flaw in the AllowServerConnect() in the FTP
Daniel Stenberg [Tue, 22 Aug 2006 21:21:01 +0000 (21:21 +0000)]
Peter Sylvester pointed out a flaw in the AllowServerConnect() in the FTP
code when doing pure ipv6 EPRT connections.

18 years agoas Jeff Pohlmeyer pointed out, first get the multi handle _then_ use it
Daniel Stenberg [Tue, 22 Aug 2006 06:29:21 +0000 (06:29 +0000)]
as Jeff Pohlmeyer pointed out, first get the multi handle _then_ use it

18 years agoWorkaround for Cray UNICOS 9.0 to fix ftp.
Dan Fandrich [Mon, 21 Aug 2006 22:28:19 +0000 (22:28 +0000)]
Workaround for Cray UNICOS 9.0 to fix ftp.

18 years agoclarify for what protocols the changes are
Daniel Stenberg [Mon, 21 Aug 2006 06:39:52 +0000 (06:39 +0000)]
clarify for what protocols the changes are

18 years agoBased on a patch by Armel Asselin, the FTP code no longer re-issues the TYPE
Daniel Stenberg [Sat, 19 Aug 2006 21:18:36 +0000 (21:18 +0000)]
Based on a patch by Armel Asselin, the FTP code no longer re-issues the TYPE
command on subsequent requests on a re-used connection unless it has to.

18 years agoArmel Asselin fixed a crash in the FTP code when using SINGLECWD mode and
Daniel Stenberg [Fri, 18 Aug 2006 23:17:33 +0000 (23:17 +0000)]
Armel Asselin fixed a crash in the FTP code when using SINGLECWD mode and
files in the root directory.

18 years agoAndrew Biggs pointed out a "Expect: 100-continue" flaw where libcurl didn't
Daniel Stenberg [Fri, 18 Aug 2006 22:54:57 +0000 (22:54 +0000)]
Andrew Biggs pointed out a "Expect: 100-continue" flaw where libcurl didn't
send the whole request at once, even though the Expect: header was disabled
by the application. An effect of this change is also that small (< 1024
bytes) POSTs are now always sent without Expect: header since we deem it
more costly to bother about that than the risk that we send the data in
vain.

18 years agoMinor portability fixes to get things running on UNICOS 9.0 on a Cray Y-MP
Dan Fandrich [Wed, 16 Aug 2006 18:48:27 +0000 (18:48 +0000)]
Minor portability fixes to get things running on UNICOS 9.0 on a Cray Y-MP

18 years agorelated info
Daniel Stenberg [Wed, 16 Aug 2006 17:56:49 +0000 (17:56 +0000)]
related info

18 years agoUse gnutls_strerror() for clearer error message.
Gisle Vanem [Wed, 16 Aug 2006 17:05:54 +0000 (17:05 +0000)]
Use gnutls_strerror() for clearer error message.

18 years agoUse '_LIBICONV_VERSION' instead of variable '_libiconv_version'
Gisle Vanem [Tue, 15 Aug 2006 17:02:24 +0000 (17:02 +0000)]
Use '_LIBICONV_VERSION' instead of variable '_libiconv_version'
to support older iconv versions.

18 years agoReplace exit() with return() in main()
Yang Tse [Mon, 14 Aug 2006 17:00:08 +0000 (17:00 +0000)]
Replace exit() with return() in main()

18 years agoadd missing man page
Daniel Stenberg [Mon, 14 Aug 2006 07:21:33 +0000 (07:21 +0000)]
add missing man page

18 years agoUse __minix to detect Minix, which works on both ACK and GCC.
Dan Fandrich [Fri, 11 Aug 2006 18:11:42 +0000 (18:11 +0000)]
Use __minix to detect Minix, which works on both ACK and GCC.

18 years agooption name spell fix
Daniel Stenberg [Wed, 9 Aug 2006 20:54:17 +0000 (20:54 +0000)]
option name spell fix

18 years agoOnly define the string prototypes in ANSI mode to reduce interference on
Dan Fandrich [Wed, 9 Aug 2006 16:36:17 +0000 (16:36 +0000)]
Only define the string prototypes in ANSI mode to reduce interference on
systems that prototype them slightly differently.

18 years agoAdded eCos and Minix sections.
Dan Fandrich [Wed, 9 Aug 2006 16:10:20 +0000 (16:10 +0000)]
Added eCos and Minix sections.

18 years agoadded build info output.
Gunter Knauf [Wed, 9 Aug 2006 14:04:51 +0000 (14:04 +0000)]
added build info output.

18 years agofixed some web links.
Gunter Knauf [Wed, 9 Aug 2006 13:59:39 +0000 (13:59 +0000)]
fixed some web links.

18 years agofixed some web links.
Gunter Knauf [Tue, 8 Aug 2006 23:37:11 +0000 (23:37 +0000)]
fixed some web links.

18 years agoArmel Asselin made the CURLOPT_PREQUOTE option work fine even when
Daniel Stenberg [Tue, 8 Aug 2006 22:56:46 +0000 (22:56 +0000)]
Armel Asselin made the CURLOPT_PREQUOTE option work fine even when
CURLOPT_NOBODY is set true. PREQUOTE is then run roughly at the same place
in the command sequence as it would have run if there would've been a
transfer.

18 years agomoved ugly NetWare hack to hostip.h so that hostip.c uses it too.
Gunter Knauf [Tue, 8 Aug 2006 22:37:53 +0000 (22:37 +0000)]
moved ugly NetWare hack to hostip.h so that hostip.c uses it too.

18 years agoFixed a flaw in the "Expect: 100-continue" treatment. If you did two POSTs
Daniel Stenberg [Tue, 8 Aug 2006 21:12:49 +0000 (21:12 +0000)]
Fixed a flaw in the "Expect: 100-continue" treatment. If you did two POSTs
on a persistent connection and allowed the first to use that header, you
could not disable it for the second request.

18 years agomake REALLY sure src/config.h.in is a copy of lib/config.h.in
Daniel Stenberg [Tue, 8 Aug 2006 21:11:31 +0000 (21:11 +0000)]
make REALLY sure src/config.h.in is a copy of lib/config.h.in

18 years agoMinix 3 doesn't have MSG_PEEK
Dan Fandrich [Tue, 8 Aug 2006 18:47:14 +0000 (18:47 +0000)]
Minix 3 doesn't have MSG_PEEK

18 years agobetter updating of the single timeout
Daniel Stenberg [Tue, 8 Aug 2006 13:39:40 +0000 (13:39 +0000)]
better updating of the single timeout

18 years agoAllow again proper compilation outside of the source tree
Yang Tse [Mon, 7 Aug 2006 18:06:37 +0000 (18:06 +0000)]
Allow again proper compilation outside of the source tree

18 years agoJeff Pohlmeyer pointed out this stupid variable type error
Daniel Stenberg [Mon, 7 Aug 2006 16:54:50 +0000 (16:54 +0000)]
Jeff Pohlmeyer pointed out this stupid variable type error

18 years agostart working towards 7.15.6
Daniel Stenberg [Mon, 7 Aug 2006 06:48:01 +0000 (06:48 +0000)]
start working towards 7.15.6

18 years agoadded contributors to 7.15.5
Daniel Stenberg [Mon, 7 Aug 2006 06:46:05 +0000 (06:46 +0000)]
added contributors to 7.15.5

18 years agorelease time for 7.15.5
Daniel Stenberg [Mon, 7 Aug 2006 06:32:35 +0000 (06:32 +0000)]
release time for 7.15.5

18 years agoCheck for network libraries the _same_ way it is done in cURL.
Yang Tse [Sun, 6 Aug 2006 10:58:47 +0000 (10:58 +0000)]
Check for network libraries the _same_ way it is done in cURL.

18 years agoCheck for network libraries the same way it is done in cURL.
Yang Tse [Sat, 5 Aug 2006 22:02:47 +0000 (22:02 +0000)]
Check for network libraries the same way it is done in cURL.

18 years agoInitial stab at making libcurl compile under Minix 3.
Dan Fandrich [Fri, 4 Aug 2006 18:53:47 +0000 (18:53 +0000)]
Initial stab at making libcurl compile under Minix 3.

18 years agoMinor compatibility fix
Yang Tse [Fri, 4 Aug 2006 17:35:05 +0000 (17:35 +0000)]
Minor compatibility fix

18 years agoAdded version info for iconv.
Gisle Vanem [Fri, 4 Aug 2006 16:10:48 +0000 (16:10 +0000)]
Added version info for iconv.

18 years agoAdded 'curl_version_info_data::iconv_ver_num' for iconv version.
Gisle Vanem [Fri, 4 Aug 2006 16:08:41 +0000 (16:08 +0000)]
Added 'curl_version_info_data::iconv_ver_num' for iconv version.

18 years agoFixed typo.
Gisle Vanem [Fri, 4 Aug 2006 16:05:09 +0000 (16:05 +0000)]
Fixed typo.

18 years agoAdded dependency for splay.obj.
Gisle Vanem [Fri, 4 Aug 2006 15:57:07 +0000 (15:57 +0000)]
Added dependency for splay.obj.

18 years agoFixed comment.
Gisle Vanem [Fri, 4 Aug 2006 15:41:56 +0000 (15:41 +0000)]
Fixed comment.

18 years agooops, the previous commit was incomplete as we made an unconditional call
Daniel Stenberg [Fri, 4 Aug 2006 14:39:19 +0000 (14:39 +0000)]
oops, the previous commit was incomplete as we made an unconditional call
to multi_runsingle() without it being really necessary or good

18 years agoeven when we get a single connection to deal with, we must still check for
Daniel Stenberg [Fri, 4 Aug 2006 13:06:36 +0000 (13:06 +0000)]
even when we get a single connection to deal with, we must still check for
timeout'ed connections and possibly deal with them too

18 years agoFix compiler warning
Yang Tse [Fri, 4 Aug 2006 02:49:04 +0000 (02:49 +0000)]
Fix compiler warning

18 years agoAvoid redundant check. configure script takes care of not defining
Yang Tse [Fri, 4 Aug 2006 01:13:24 +0000 (01:13 +0000)]
Avoid redundant check. configure script takes care of not defining
HAVE_WINDOWS_H, HAVE_WINSOCK_H, HAVE_WINSOCK2_H, neither
HAVE_WS2TCPIP_H when __CYGWIN__ is defined.

18 years agoBeing unable to link or find out recv() or send() args types is a fatal error.
Yang Tse [Fri, 4 Aug 2006 00:39:34 +0000 (00:39 +0000)]
Being unable to link or find out recv() or send() args types is a fatal error.

18 years agoThis is now a working example using libevent and curl_multi_socket() for really
Daniel Stenberg [Thu, 3 Aug 2006 22:57:04 +0000 (22:57 +0000)]
This is now a working example using libevent and curl_multi_socket() for really
fast treatment of many simultaneous transfers

18 years agoadding CURLM_CALL_MULTI_SOCKET that's just the same as CURLM_CALL_MULTI_PERFORM
Daniel Stenberg [Thu, 3 Aug 2006 21:31:23 +0000 (21:31 +0000)]
adding CURLM_CALL_MULTI_SOCKET that's just the same as CURLM_CALL_MULTI_PERFORM

18 years agoMinGW/MSYS needs lib ws2_32 for proper operation of configure script.
Yang Tse [Thu, 3 Aug 2006 21:19:40 +0000 (21:19 +0000)]
MinGW/MSYS needs lib ws2_32 for proper operation of configure script.

18 years agoRavi Pratap fixed ares_getsock() to actually return the proper bitmap and
Daniel Stenberg [Thu, 3 Aug 2006 18:20:45 +0000 (18:20 +0000)]
Ravi Pratap fixed ares_getsock() to actually return the proper bitmap and
not always zero!

18 years agoremoved running_handles argument from multi_runsingle() since it wasn't really
Daniel Stenberg [Thu, 3 Aug 2006 11:47:42 +0000 (11:47 +0000)]
removed running_handles argument from multi_runsingle() since it wasn't really
used anymore since multi->num_alive was introduced

18 years agoSilence compiler warning 'unused parameter running_handles' in function multi_runsing...
Yang Tse [Thu, 3 Aug 2006 11:41:49 +0000 (11:41 +0000)]
Silence compiler warning 'unused parameter running_handles' in function multi_runsingle(). This is done here returning multi->num_alive in the running_handles parameter even when functions that call multi_runsingle() at this moment overwrite the returned value with the one that is valid when those functions curl_multi_perform() and multi_socket() have removed expired timers from the splay. Most probably, parameter 'running_handles' in function multi_runsingle() should be just removed.