Gisle Vanem [Tue, 25 Jul 2006 10:23:15 +0000 (10:23 +0000)]
Remove comment about c-ares not supporting IPv6.
Gisle Vanem [Mon, 24 Jul 2006 15:58:33 +0000 (15:58 +0000)]
Use the proper Curl_freeaddrinfo() for CURLRES_ARES.
Gisle Vanem [Mon, 24 Jul 2006 15:56:40 +0000 (15:56 +0000)]
Fix typo.
Gisle Vanem [Mon, 24 Jul 2006 15:48:48 +0000 (15:48 +0000)]
Ares needs CURLRES_ADDRINFO_COPY. Curl_hostent_relocate() is gone.
Daniel Stenberg [Sun, 23 Jul 2006 12:01:06 +0000 (12:01 +0000)]
added splay.o
Gisle Vanem [Sun, 23 Jul 2006 10:10:52 +0000 (10:10 +0000)]
Added getopt() processing.
Gisle Vanem [Sat, 22 Jul 2006 17:31:00 +0000 (17:31 +0000)]
Added getopt() processing of [-t {a|aaaa}].
Gisle Vanem [Sat, 22 Jul 2006 15:38:35 +0000 (15:38 +0000)]
Added CVS id.
Gisle Vanem [Sat, 22 Jul 2006 15:37:10 +0000 (15:37 +0000)]
2nd try adding CVS id.
Gisle Vanem [Sat, 22 Jul 2006 15:21:13 +0000 (15:21 +0000)]
Added CVS id.
Gisle Vanem [Sat, 22 Jul 2006 15:12:34 +0000 (15:12 +0000)]
Use ares_free_string() to avoid detecting leaks.
Gisle Vanem [Sat, 22 Jul 2006 14:51:39 +0000 (14:51 +0000)]
If CURLDEBUG defined, call curl_memdebug() if $CARES_MEMDEBUG is set.
Gisle Vanem [Fri, 21 Jul 2006 06:50:39 +0000 (06:50 +0000)]
Constify some arguments in Curl_connecthost() and singleipconnect().
Gisle Vanem [Fri, 21 Jul 2006 06:21:46 +0000 (06:21 +0000)]
Constify arguments to Curl_he2ai() and Curl_addrinfo_copy().
Gisle Vanem [Fri, 21 Jul 2006 05:51:12 +0000 (05:51 +0000)]
Constify 'hostname' and 'service' to various resolver functions.
Gisle Vanem [Fri, 21 Jul 2006 04:22:44 +0000 (04:22 +0000)]
Changes for combination ENABLE_IPV6 and USE_ARES.
Gisle Vanem [Fri, 21 Jul 2006 04:19:44 +0000 (04:19 +0000)]
Use calloc() instead.
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.
Gisle Vanem [Thu, 20 Jul 2006 16:37:05 +0000 (16:37 +0000)]
Avoid warning "comparison of unsigned expression < 0 is always false"
Gisle Vanem [Thu, 20 Jul 2006 15:54:01 +0000 (15:54 +0000)]
Avoid warning 'port' might be used uninitialized in this function.
Dan Fandrich [Wed, 19 Jul 2006 22:27:49 +0000 (22:27 +0000)]
Changes to support building for eCos 1.3.1. This has been tested with
file: URLs only.
Yang Tse [Wed, 19 Jul 2006 21:14:02 +0000 (21:14 +0000)]
Fix compiler warnings
Yang Tse [Wed, 19 Jul 2006 19:09:56 +0000 (19:09 +0000)]
Avoid variable declaration shadowing previously declared one
Yang Tse [Wed, 19 Jul 2006 18:46:56 +0000 (18:46 +0000)]
Avoid variable declaration shadowing previously declared one
Yang Tse [Wed, 19 Jul 2006 18:32:38 +0000 (18:32 +0000)]
remove variable declaration shadowing previously declared one
Yang Tse [Wed, 19 Jul 2006 18:19:30 +0000 (18:19 +0000)]
Remove variable declaration shadowing previously declared one
Yang Tse [Wed, 19 Jul 2006 15:28:30 +0000 (15:28 +0000)]
Abort if unable to write pid file, and close socket when aborting.
Yang Tse [Wed, 19 Jul 2006 15:26:28 +0000 (15:26 +0000)]
Abort if unable to write pid file.
Yang Tse [Mon, 17 Jul 2006 22:44:40 +0000 (22:44 +0000)]
-Use curl_socket_t instead of int.
-Log errno in message if setsockopt() fails.
-Close listener socket on major errors.
Yang Tse [Mon, 17 Jul 2006 19:22:28 +0000 (19:22 +0000)]
"*connected" must be set to FALSE if trynextip() fails.
Daniel Stenberg [Mon, 17 Jul 2006 18:35:58 +0000 (18:35 +0000)]
Jari Sundell did some excellent research and bug tracking, figured out that
we did wrong and patched it: When nodes were removed from the splay tree,
and we didn't properly remove it from the splay tree when an easy handle was
removed from a multi stack and thus we could wrongly leave a node in the
splay tree pointing to (bad) memory.
Yang Tse [Mon, 17 Jul 2006 16:47:07 +0000 (16:47 +0000)]
tests/libtest/lib506.c version 1.11 is now also logging CURLSHOPT_LOCKFUNC, CURLSHOPT_UNLOCKFUNC and CURLSHOPT_USERDATA, so we now also have to check them here.
Yang Tse [Mon, 17 Jul 2006 15:25:37 +0000 (15:25 +0000)]
Return NULL if argument is NULL.
Yang Tse [Mon, 17 Jul 2006 14:52:31 +0000 (14:52 +0000)]
Fix compiler warning "enumerated type mixed with another type"
Yang Tse [Mon, 17 Jul 2006 14:32:19 +0000 (14:32 +0000)]
Fix compiler warning "enumerated type mixed with another type"
Yang Tse [Mon, 17 Jul 2006 05:05:57 +0000 (05:05 +0000)]
Update error buffer size used for SSL_strerror()
Yang Tse [Mon, 17 Jul 2006 03:38:13 +0000 (03:38 +0000)]
Minor cleanup
Daniel Stenberg [Sat, 15 Jul 2006 18:57:51 +0000 (18:57 +0000)]
don't use 'new' in the proto
Daniel Stenberg [Fri, 14 Jul 2006 18:58:42 +0000 (18:58 +0000)]
David McCreedy fixed a flaw where the CRLF counter wasn't properly cleared
for FTP ASCII transfers.
Yang Tse [Fri, 14 Jul 2006 11:04:19 +0000 (11:04 +0000)]
Fix compiler warning
Yang Tse [Fri, 14 Jul 2006 10:30:44 +0000 (10:30 +0000)]
Change the ai_addrlen type of struct addrinfo from size_t to socklen_t, per RFC 3493.
Yang Tse [Fri, 14 Jul 2006 06:31:41 +0000 (06:31 +0000)]
Null terminate string in buffer before feeding it to strtol()
Yang Tse [Thu, 13 Jul 2006 18:57:34 +0000 (18:57 +0000)]
Oops, missing "u"
Yang Tse [Thu, 13 Jul 2006 18:50:51 +0000 (18:50 +0000)]
Change to meaningful var names and take care of a compiler warning on IRIX 6.5.22 MIPSPro C 7.3 64bit
Yang Tse [Thu, 13 Jul 2006 18:44:24 +0000 (18:44 +0000)]
Fix compiler warning.
Gisle Vanem [Wed, 12 Jul 2006 13:57:18 +0000 (13:57 +0000)]
Remove unneeded stuff.
Yang Tse [Wed, 12 Jul 2006 10:41:07 +0000 (10:41 +0000)]
Remove var not used.
Yang Tse [Wed, 12 Jul 2006 09:39:35 +0000 (09:39 +0000)]
Log a message if not all data is sent.
Yang Tse [Wed, 12 Jul 2006 09:03:48 +0000 (09:03 +0000)]
Fix compiler warning: comparison between signed and unsigned
Yang Tse [Wed, 12 Jul 2006 07:33:54 +0000 (07:33 +0000)]
Read the return value of the swrite() macro and 'print' a message in case of failure.
Yang Tse [Wed, 12 Jul 2006 06:52:40 +0000 (06:52 +0000)]
Place parenthesis surrounding macro parameters so that the use of sread and swrite is more intuitive.
Yang Tse [Wed, 12 Jul 2006 06:14:49 +0000 (06:14 +0000)]
sread now returns ssize_t
Yang Tse [Wed, 12 Jul 2006 06:09:53 +0000 (06:09 +0000)]
Pay attention when typecasting an operation
Yang Tse [Wed, 12 Jul 2006 05:54:06 +0000 (05:54 +0000)]
sread now returns ssize_t
Yang Tse [Wed, 12 Jul 2006 05:20:05 +0000 (05:20 +0000)]
DJGPP/WATT32 does not have functions named recv() send() getnameinfo().
Yang Tse [Wed, 12 Jul 2006 05:19:00 +0000 (05:19 +0000)]
Use platform's native types for recv() and send() arguments.
Dan Fandrich [Tue, 11 Jul 2006 21:35:35 +0000 (21:35 +0000)]
Enable --enable-hidden-symbols for SunPro C
Yang Tse [Tue, 11 Jul 2006 21:34:23 +0000 (21:34 +0000)]
include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined.
Yang Tse [Tue, 11 Jul 2006 20:40:38 +0000 (20:40 +0000)]
Define NEED_MALLOC_H if including <stdlib.h> is not enough for proper compilation and <malloc.h> must also be included.
Dan Fandrich [Tue, 11 Jul 2006 17:02:06 +0000 (17:02 +0000)]
Moved strdup replacement from src/main.c into src/strdup.c so it's available
in libcurl as well, if necessary.
Gisle Vanem [Tue, 11 Jul 2006 13:12:57 +0000 (13:12 +0000)]
Added comment and CVS id.
Yang Tse [Tue, 11 Jul 2006 00:23:21 +0000 (00:23 +0000)]
Socket must be set to CURL_SOCKET_BAD after closing it.
Yang Tse [Mon, 10 Jul 2006 16:14:36 +0000 (16:14 +0000)]
DNS cache must use the multi DNS cache if the easy handle's one is not using anyone in curl_multi_add_handle.
Daniel Stenberg [Sat, 8 Jul 2006 21:30:56 +0000 (21:30 +0000)]
the tool is named curl with lowercase c
Daniel Stenberg [Sat, 8 Jul 2006 21:29:45 +0000 (21:29 +0000)]
just some more blurb
Daniel Stenberg [Sat, 8 Jul 2006 18:52:08 +0000 (18:52 +0000)]
Ates Goral pointed out that libcurl's cookie parser did case insensitive
string comparisons on the path which is incorrect and provided a patch that
fixes this. I edited test case 8 to include details that test for this.
Daniel Stenberg [Sat, 8 Jul 2006 18:49:41 +0000 (18:49 +0000)]
7.15.5 is planned for August 2006
Daniel Stenberg [Fri, 7 Jul 2006 23:08:03 +0000 (23:08 +0000)]
mention the shared DNS stuff
Daniel Stenberg [Fri, 7 Jul 2006 22:58:06 +0000 (22:58 +0000)]
Ingmar Runge provided a source snippet that caused a crash. The reason for
the crash was that libcurl internally was a bit confused about who owned the
DNS cache at all times so if you created an easy handle that uses a shared
DNS cache and added that to a multi handle it would crash. Now we keep more
careful internal track of exactly what kind of DNS cache each easy handle
uses: None, Private (allocated for and used only by this single handle),
Shared (points to a cache held by a shared object), Global (points to the
global cache) or Multi (points to the cache within the multi handle that is
automatically shared between all easy handles that are added with private
caches).
Daniel Stenberg [Fri, 7 Jul 2006 22:07:10 +0000 (22:07 +0000)]
mention the by-default "sharing"
Daniel Stenberg [Fri, 7 Jul 2006 20:48:51 +0000 (20:48 +0000)]
yassl can be used now
Daniel Stenberg [Fri, 7 Jul 2006 20:45:56 +0000 (20:45 +0000)]
HTTP Pipelining is for GET and HEAD requests only.
Dan Fandrich [Fri, 7 Jul 2006 18:37:14 +0000 (18:37 +0000)]
Fixed building curllib.dsp when running make outside the source tree.
Yang Tse [Fri, 7 Jul 2006 17:34:40 +0000 (17:34 +0000)]
Finally get rid of CURL_CHECK_HEADERS_ONCE since it adds very little value and has portability issues.
Change some shell if...then...fi tests into case...esac tests which demand less resources.
Yang Tse [Fri, 7 Jul 2006 14:03:17 +0000 (14:03 +0000)]
Substitution of the literal '-' is only done if it's the first or last character.
Yang Tse [Fri, 7 Jul 2006 12:59:45 +0000 (12:59 +0000)]
Using backslashes and slashes in the strings of the sed 'y' command shall be avoided since its interpretation is not the same across platforms.
Now we use the sed 's' command with a bracket expression.
Gisle Vanem [Fri, 7 Jul 2006 07:49:16 +0000 (07:49 +0000)]
Correct the trace for WinCE.
Gisle Vanem [Fri, 7 Jul 2006 07:46:40 +0000 (07:46 +0000)]
WinCE uses CreateThread(). Hence error is not in 'errno'.
Gisle Vanem [Fri, 7 Jul 2006 07:41:47 +0000 (07:41 +0000)]
Removed copying 'stderr' since it doesn't have the desired
effect.
Daniel Stenberg [Fri, 7 Jul 2006 07:22:05 +0000 (07:22 +0000)]
updated after discussions and thinking
Yang Tse [Fri, 7 Jul 2006 05:39:13 +0000 (05:39 +0000)]
Fix excessive escaping.
Yang Tse [Fri, 7 Jul 2006 04:42:11 +0000 (04:42 +0000)]
Fix CURL_CHECK_HEADERS_ONCE
Yang Tse [Thu, 6 Jul 2006 15:51:03 +0000 (15:51 +0000)]
Fix MinGW/MSYS support in CURL_CHECK_FUNC_RECV and CURL_CHECK_FUNC_SEND.
Gisle Vanem [Thu, 6 Jul 2006 13:57:26 +0000 (13:57 +0000)]
Undefine symbols before redefining them.
Gisle Vanem [Thu, 6 Jul 2006 13:33:56 +0000 (13:33 +0000)]
Undefine correct symbol.
Yang Tse [Wed, 5 Jul 2006 23:16:28 +0000 (23:16 +0000)]
Oops !
Yang Tse [Wed, 5 Jul 2006 23:10:37 +0000 (23:10 +0000)]
Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers when compiled with Cygwin in POSIX emulation mode.
Gisle Vanem [Wed, 5 Jul 2006 14:23:09 +0000 (14:23 +0000)]
Cludge fix for djgpp 2.03 or older; it doesn't have snprintf() etc.
So avoid using x_was_used().
Gisle Vanem [Wed, 5 Jul 2006 14:15:21 +0000 (14:15 +0000)]
Add types and qualifiers for getnameifo(), send() and recv().
(Yang Tse forgot about djgpp)
Yang Tse [Tue, 4 Jul 2006 17:19:15 +0000 (17:19 +0000)]
Use a more descriptive var name.
Yang Tse [Tue, 4 Jul 2006 16:54:10 +0000 (16:54 +0000)]
Get qualifier of arg 2 for send() apart into SEND_QUAL_ARG2.
Yang Tse [Tue, 4 Jul 2006 16:10:13 +0000 (16:10 +0000)]
Platforms that don't have/run configure need default values in their config files for:
HAVE_GETNAMEINFO, GETNAMEINFO_QUAL_ARG1, GETNAMEINFO_TYPE_ARG1, GETNAMEINFO_TYPE_ARG2, GETNAMEINFO_TYPE_ARG46, GETNAMEINFO_TYPE_ARG7
HAVE_RECV, RECV_TYPE_ARG1, RECV_TYPE_ARG2, RECV_TYPE_ARG3, RECV_TYPE_ARG4, RECV_TYPE_RETV
HAVE_SEND, SEND_TYPE_ARG1, SEND_TYPE_ARG2, SEND_TYPE_ARG3, SEND_TYPE_ARG4, SEND_TYPE_RETV
Yang Tse [Tue, 4 Jul 2006 13:03:32 +0000 (13:03 +0000)]
Find out return types and argument types for functions recv() and send() at configuration stage.
Daniel Stenberg [Tue, 4 Jul 2006 12:01:59 +0000 (12:01 +0000)]
Toshiyuki Maezawa fixed a problem where you couldn't override the
Proxy-Connection: header when using a proxy and not doing CONNECT.
Yang Tse [Tue, 4 Jul 2006 02:27:11 +0000 (02:27 +0000)]
Test HAVE_GETNAMEINFO definition before using GETNAMEINFO_XXX definitions.
Yang Tse [Mon, 3 Jul 2006 18:38:03 +0000 (18:38 +0000)]
Fix compiler warning.
Yang Tse [Mon, 3 Jul 2006 15:32:12 +0000 (15:32 +0000)]
Use CURL_CHECK_FUNC_GETNAMEINFO results in CURL_CHECK_NI_WITHSCOPEID
Yang Tse [Sun, 2 Jul 2006 23:09:46 +0000 (23:09 +0000)]
Make CURL_CHECK_NI_WITHSCOPEID actually try to compile NI_WITHSCOPEID when cross-compiling.
Yang Tse [Sun, 2 Jul 2006 01:21:54 +0000 (01:21 +0000)]
Fix shell globbing in CURL_CHECK_FUNC_GETNAMEINFO
Yang Tse [Sun, 2 Jul 2006 01:17:37 +0000 (01:17 +0000)]
Fix shell globbing in CURL_CHECK_FUNC_GETNAMEINFO