platform/upstream/curl.git
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.

18 years agokeep count of the number of "alive" handles in a struct member, as otherwise
Daniel Stenberg [Wed, 2 Aug 2006 22:29:29 +0000 (22:29 +0000)]
keep count of the number of "alive" handles in a struct member, as otherwise
*multi_socket*() can't return the proper number

18 years agoMark Lentczner fixed how libcurl was not properly doing chunked encoding
Daniel Stenberg [Wed, 2 Aug 2006 18:18:47 +0000 (18:18 +0000)]
Mark Lentczner fixed how libcurl was not properly doing chunked encoding
if the header "Transfer-Encoding: chunked" was set by the application.
http://curl.haxx.se/bug/view.cgi?id=1531838

18 years agoa CURLOPT_PROGRESSFUNCTION clarification
Daniel Stenberg [Wed, 2 Aug 2006 09:33:32 +0000 (09:33 +0000)]
a CURLOPT_PROGRESSFUNCTION clarification

18 years agoMaciej Karpiuk fixed a crash that would occur if we passed Curl_strerror()
Daniel Stenberg [Tue, 1 Aug 2006 09:39:01 +0000 (09:39 +0000)]
Maciej Karpiuk fixed a crash that would occur if we passed Curl_strerror()
an unknown error number on glibc systems.
http://curl.haxx.se/bug/view.cgi?id=1532289

18 years agospell-fixed a comment
Daniel Stenberg [Tue, 1 Aug 2006 09:38:35 +0000 (09:38 +0000)]
spell-fixed a comment

18 years agoupdated docs with the new parameter
Daniel Stenberg [Tue, 1 Aug 2006 08:57:32 +0000 (08:57 +0000)]
updated docs with the new parameter

18 years agoAvoid the risk of a false positive detection of MSG_NOSIGNAL when cross compiling...
Yang Tse [Mon, 31 Jul 2006 18:41:29 +0000 (18:41 +0000)]
Avoid the risk of a false positive detection of MSG_NOSIGNAL when cross compiling a Windows target.

18 years agoSilence warning: empty body in an if-statement
Yang Tse [Mon, 31 Jul 2006 17:46:28 +0000 (17:46 +0000)]
Silence warning: empty body in an if-statement

18 years agoForce compilation failure in case macros sread() or swrite() are not defined.
Yang Tse [Mon, 31 Jul 2006 17:12:24 +0000 (17:12 +0000)]
Force compilation failure in case macros sread() or swrite() are not defined.

18 years agoProvide definitions needed for macros sread() and swrite() in config file.
Yang Tse [Mon, 31 Jul 2006 16:58:10 +0000 (16:58 +0000)]
Provide definitions needed for macros sread() and swrite() in config file.

18 years agoadapt to the new protos
Daniel Stenberg [Sun, 30 Jul 2006 22:47:53 +0000 (22:47 +0000)]
adapt to the new protos

18 years agocurl_multi_socket() and curl_multi_socket_all() got modified prototypes: they
Daniel Stenberg [Sun, 30 Jul 2006 22:44:07 +0000 (22:44 +0000)]
curl_multi_socket() and curl_multi_socket_all() got modified prototypes: they
both now provide the number of running handles back to the calling function.

18 years agoWinsock and Cygwin need address family specification before bind(), this should be...
Yang Tse [Sat, 29 Jul 2006 16:17:36 +0000 (16:17 +0000)]
Winsock and Cygwin need address family specification before bind(), this should be harmless for others.

18 years agoFix compiler warnings.
Yang Tse [Sat, 29 Jul 2006 09:15:03 +0000 (09:15 +0000)]
Fix compiler warnings.

18 years agoinclude setup_once.h dependency and adjust to 80 char lines.
Yang Tse [Sat, 29 Jul 2006 08:39:20 +0000 (08:39 +0000)]
include setup_once.h dependency and adjust to 80 char lines.

18 years agonew D binding
Daniel Stenberg [Fri, 28 Jul 2006 22:04:44 +0000 (22:04 +0000)]
new D binding

18 years agoReplace send() and recv() with swrite() and sread() macros.
Yang Tse [Fri, 28 Jul 2006 18:01:23 +0000 (18:01 +0000)]
Replace send() and recv() with swrite() and sread() macros.

18 years agoFirst step trying to avoid the multiple header inclusion and recursion nightmare.
Yang Tse [Fri, 28 Jul 2006 14:19:02 +0000 (14:19 +0000)]
First step trying to avoid the multiple header inclusion and recursion nightmare.

Reintroduce checking for HAVE_MSG_NOSIGNAL in configure script, so that we don't depend on header inclusion order for a valid check.

18 years agotest case 277 - HTTP RFC1867-type formposting with custom Content-Type
Daniel Stenberg [Thu, 27 Jul 2006 22:44:56 +0000 (22:44 +0000)]
test case 277 - HTTP RFC1867-type formposting with custom Content-Type

18 years agoYves Lejeune fixed so that replacing Content-Type: when doing multipart
Daniel Stenberg [Thu, 27 Jul 2006 22:35:09 +0000 (22:35 +0000)]
Yves Lejeune fixed so that replacing Content-Type: when doing multipart
formposts work exactly the way you want it (and the way you'd assume it
works)

18 years agoput back the correct logic, as the change dated July 11th 2006 added bad
Daniel Stenberg [Thu, 27 Jul 2006 22:28:53 +0000 (22:28 +0000)]
put back the correct logic, as the change dated July 11th 2006 added bad
behaviour and a socket leak

18 years agoDavid McCreedy added --ftp-ssl-reqd which makes curl *require* SSL for both
Daniel Stenberg [Wed, 26 Jul 2006 23:20:47 +0000 (23:20 +0000)]
David McCreedy added --ftp-ssl-reqd which makes curl *require* SSL for both
control and data connection, as the existing --ftp-ssl option only requests
it.

18 years agocurl_multi_assign() and CURLMOPT_SOCKETFUNCTION proto change
Daniel Stenberg [Wed, 26 Jul 2006 22:25:00 +0000 (22:25 +0000)]
curl_multi_assign() and CURLMOPT_SOCKETFUNCTION proto change

18 years ago[Hiper-related work] Added a function called curl_multi_assign() that will
Daniel Stenberg [Wed, 26 Jul 2006 22:19:42 +0000 (22:19 +0000)]
[Hiper-related work] Added a function called curl_multi_assign() that will
set a private pointer added to the internal libcurl hash table for the
particular socket passed in to this function.

18 years agoProvide multiple header inclusion prevention definition __ARES_PRIVATE_H
Yang Tse [Wed, 26 Jul 2006 10:54:08 +0000 (10:54 +0000)]
Provide multiple header inclusion prevention definition __ARES_PRIVATE_H

18 years agoChange multiple header inclusion prevention definition to __ARES_BITNCMP_H
Yang Tse [Wed, 26 Jul 2006 10:47:11 +0000 (10:47 +0000)]
Change multiple header inclusion prevention definition to __ARES_BITNCMP_H

18 years agoChange multiple header inclusion prevention definition to __ARES_INET_NET_PTON_H
Yang Tse [Wed, 26 Jul 2006 10:43:15 +0000 (10:43 +0000)]
Change multiple header inclusion prevention definition to __ARES_INET_NET_PTON_H

18 years agoSync header with source code
Yang Tse [Wed, 26 Jul 2006 10:33:17 +0000 (10:33 +0000)]
Sync header with source code

18 years agoDan Nelson added the CURLOPT_FTP_ALTERNATIVE_TO_USER libcurl option and curl
Daniel Stenberg [Tue, 25 Jul 2006 22:45:21 +0000 (22:45 +0000)]
Dan Nelson added the CURLOPT_FTP_ALTERNATIVE_TO_USER libcurl option and curl
tool option named --ftp-alternative-to-user. It provides a mean to send a
particular command if the normal USER/PASS approach fails.

18 years agoMichael Jerris added magic that builds lib/curllib.vcproj automatically (for
Daniel Stenberg [Tue, 25 Jul 2006 22:06:42 +0000 (22:06 +0000)]
Michael Jerris added magic that builds lib/curllib.vcproj automatically (for
newer MSVC versions)

18 years agoFix warning: no newline at end of file
Yang Tse [Tue, 25 Jul 2006 18:48:12 +0000 (18:48 +0000)]
Fix warning: no newline at end of file

18 years agoGeorg Horn made the transfer timeout error message include more details
Daniel Stenberg [Tue, 25 Jul 2006 18:38:51 +0000 (18:38 +0000)]
Georg Horn made the transfer timeout error message include more details

18 years agoSimplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H shall...
Yang Tse [Tue, 25 Jul 2006 13:49:49 +0000 (13:49 +0000)]
Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H shall be defined if <malloc.h> header file must be included even when including <stdlib.h>.

18 years agoSilence iconv() warnings.
Gisle Vanem [Tue, 25 Jul 2006 11:35:35 +0000 (11:35 +0000)]
Silence iconv() warnings.

18 years agoAdded CURL_VERSION_CONV feature string.
Gisle Vanem [Tue, 25 Jul 2006 11:08:42 +0000 (11:08 +0000)]
Added CURL_VERSION_CONV feature string.

18 years agoAdded note for CURLRES_ARES and CURLRES_IPV6.
Gisle Vanem [Tue, 25 Jul 2006 10:49:12 +0000 (10:49 +0000)]
Added note for CURLRES_ARES and CURLRES_IPV6.

18 years agoMoved functions common to IPv4 and C-ares to hostip.c;
Gisle Vanem [Tue, 25 Jul 2006 10:31:31 +0000 (10:31 +0000)]
Moved functions common to IPv4 and C-ares to hostip.c;
Curl_freeaddrinfo() and Curl_ip2addr().

18 years agoRemove comment about c-ares not supporting IPv6.
Gisle Vanem [Tue, 25 Jul 2006 10:23:15 +0000 (10:23 +0000)]
Remove comment about c-ares not supporting IPv6.

18 years agoUse the proper Curl_freeaddrinfo() for CURLRES_ARES.
Gisle Vanem [Mon, 24 Jul 2006 15:58:33 +0000 (15:58 +0000)]
Use the proper Curl_freeaddrinfo() for CURLRES_ARES.

18 years agoFix typo.
Gisle Vanem [Mon, 24 Jul 2006 15:56:40 +0000 (15:56 +0000)]
Fix typo.

18 years agoAres needs CURLRES_ADDRINFO_COPY. Curl_hostent_relocate() is gone.
Gisle Vanem [Mon, 24 Jul 2006 15:48:48 +0000 (15:48 +0000)]
Ares needs CURLRES_ADDRINFO_COPY. Curl_hostent_relocate() is gone.

18 years agoadded splay.o
Daniel Stenberg [Sun, 23 Jul 2006 12:01:06 +0000 (12:01 +0000)]
added splay.o

18 years agoAdded getopt() processing.
Gisle Vanem [Sun, 23 Jul 2006 10:10:52 +0000 (10:10 +0000)]
Added getopt() processing.

18 years agoAdded getopt() processing of [-t {a|aaaa}].
Gisle Vanem [Sat, 22 Jul 2006 17:31:00 +0000 (17:31 +0000)]
Added getopt() processing of [-t {a|aaaa}].

18 years agoAdded CVS id.
Gisle Vanem [Sat, 22 Jul 2006 15:38:35 +0000 (15:38 +0000)]
Added CVS id.

18 years ago2nd try adding CVS id.
Gisle Vanem [Sat, 22 Jul 2006 15:37:10 +0000 (15:37 +0000)]
2nd try adding CVS id.

18 years agoAdded CVS id.
Gisle Vanem [Sat, 22 Jul 2006 15:21:13 +0000 (15:21 +0000)]
Added CVS id.

18 years agoUse ares_free_string() to avoid detecting leaks.
Gisle Vanem [Sat, 22 Jul 2006 15:12:34 +0000 (15:12 +0000)]
Use ares_free_string() to avoid detecting leaks.

18 years agoIf CURLDEBUG defined, call curl_memdebug() if $CARES_MEMDEBUG is set.
Gisle Vanem [Sat, 22 Jul 2006 14:51:39 +0000 (14:51 +0000)]
If CURLDEBUG defined, call curl_memdebug() if $CARES_MEMDEBUG is set.

18 years agoConstify some arguments in Curl_connecthost() and singleipconnect().
Gisle Vanem [Fri, 21 Jul 2006 06:50:39 +0000 (06:50 +0000)]
Constify some arguments in Curl_connecthost() and singleipconnect().

18 years agoConstify arguments to Curl_he2ai() and Curl_addrinfo_copy().
Gisle Vanem [Fri, 21 Jul 2006 06:21:46 +0000 (06:21 +0000)]
Constify arguments to Curl_he2ai() and Curl_addrinfo_copy().

18 years agoConstify 'hostname' and 'service' to various resolver functions.
Gisle Vanem [Fri, 21 Jul 2006 05:51:12 +0000 (05:51 +0000)]
Constify 'hostname' and 'service' to various resolver functions.

18 years agoChanges for combination ENABLE_IPV6 and USE_ARES.
Gisle Vanem [Fri, 21 Jul 2006 04:22:44 +0000 (04:22 +0000)]
Changes for combination ENABLE_IPV6 and USE_ARES.

18 years agoUse calloc() instead.
Gisle Vanem [Fri, 21 Jul 2006 04:19:44 +0000 (04:19 +0000)]
Use calloc() instead.

18 years agoDavid McCreedy fixed a build error when building libcurl with HTTP disabled,
Daniel Stenberg [Thu, 20 Jul 2006 20:04:52 +0000 (20:04 +0000)]
David McCreedy fixed a build error when building libcurl with HTTP disabled,
problem added with the curl_formget() patch.

18 years agoAvoid warning "comparison of unsigned expression < 0 is always false"
Gisle Vanem [Thu, 20 Jul 2006 16:37:05 +0000 (16:37 +0000)]
Avoid warning "comparison of unsigned expression < 0 is always false"