Yang Tse
431c4bd6e3
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.
2006-07-17 16:47:07 +00:00
Yang Tse
f72c4e82fd
Return NULL if argument is NULL.
2006-07-17 15:25:37 +00:00
Yang Tse
9c83a20a27
Fix compiler warning "enumerated type mixed with another type"
2006-07-17 14:52:31 +00:00
Yang Tse
773bec5ae5
Fix compiler warning "enumerated type mixed with another type"
2006-07-17 14:32:19 +00:00
Yang Tse
f3c508f6e8
Update error buffer size used for SSL_strerror()
2006-07-17 05:05:57 +00:00
Yang Tse
2aa4710745
Minor cleanup
2006-07-17 03:38:13 +00:00
Daniel Stenberg
3b0a920fad
don't use 'new' in the proto
2006-07-15 18:57:51 +00:00
Daniel Stenberg
daef1cf34d
David McCreedy fixed a flaw where the CRLF counter wasn't properly cleared
...
for FTP ASCII transfers.
2006-07-14 18:58:42 +00:00
Yang Tse
bd8d4637a3
Fix compiler warning
2006-07-14 11:04:19 +00:00
Yang Tse
d2cefc140a
Change the ai_addrlen type of struct addrinfo from size_t to socklen_t, per RFC 3493.
2006-07-14 10:30:44 +00:00
Yang Tse
ccfce89423
Null terminate string in buffer before feeding it to strtol()
2006-07-14 06:31:41 +00:00
Yang Tse
700cd5805c
Oops, missing "u"
2006-07-13 18:57:34 +00:00
Yang Tse
498aad8587
Change to meaningful var names and take care of a compiler warning on IRIX 6.5.22 MIPSPro C 7.3 64bit
2006-07-13 18:50:51 +00:00
Yang Tse
73f407b7ae
Fix compiler warning.
2006-07-13 18:44:24 +00:00
Gisle Vanem
4be7dcba48
Remove unneeded stuff.
2006-07-12 13:57:18 +00:00
Yang Tse
f0694c582e
Remove var not used.
2006-07-12 10:41:07 +00:00
Yang Tse
f90f0c98d9
Log a message if not all data is sent.
2006-07-12 09:39:35 +00:00
Yang Tse
95aecc5dbb
Fix compiler warning: comparison between signed and unsigned
2006-07-12 09:03:48 +00:00
Yang Tse
f975fd03a1
Read the return value of the swrite() macro and 'print' a message in case of failure.
2006-07-12 07:33:54 +00:00
Yang Tse
8272874704
Place parenthesis surrounding macro parameters so that the use of sread and swrite is more intuitive.
2006-07-12 06:52:40 +00:00
Yang Tse
86f4cead16
sread now returns ssize_t
2006-07-12 06:14:49 +00:00
Yang Tse
88a1a10e6f
Pay attention when typecasting an operation
2006-07-12 06:09:53 +00:00
Yang Tse
624e657210
sread now returns ssize_t
2006-07-12 05:54:06 +00:00
Yang Tse
2278e8f1ba
DJGPP/WATT32 does not have functions named recv() send() getnameinfo().
2006-07-12 05:20:05 +00:00
Yang Tse
58176d1484
Use platform's native types for recv() and send() arguments.
2006-07-12 05:19:00 +00:00
Dan Fandrich
10489879f7
Enable --enable-hidden-symbols for SunPro C
2006-07-11 21:35:35 +00:00
Yang Tse
fe22872d14
include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined.
2006-07-11 21:34:23 +00:00
Yang Tse
4d95d23d99
Define NEED_MALLOC_H if including <stdlib.h> is not enough for proper compilation and <malloc.h> must also be included.
2006-07-11 20:40:38 +00:00
Dan Fandrich
c6fc5a1a26
Moved strdup replacement from src/main.c into src/strdup.c so it's available
...
in libcurl as well, if necessary.
2006-07-11 17:02:06 +00:00
Gisle Vanem
012d75442a
Added comment and CVS id.
2006-07-11 13:12:57 +00:00
Yang Tse
dcc7900e7c
Socket must be set to CURL_SOCKET_BAD after closing it.
2006-07-11 00:23:21 +00:00
Yang Tse
34f5e8ad0e
DNS cache must use the multi DNS cache if the easy handle's one is not using anyone in curl_multi_add_handle.
2006-07-10 16:14:36 +00:00
Daniel Stenberg
c2fee9894a
the tool is named curl with lowercase c
2006-07-08 21:30:56 +00:00
Daniel Stenberg
abd983e851
just some more blurb
2006-07-08 21:29:45 +00:00
Daniel Stenberg
28611704d9
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.
2006-07-08 18:52:08 +00:00
Daniel Stenberg
305dddeab0
7.15.5 is planned for August 2006
2006-07-08 18:49:41 +00:00
Daniel Stenberg
ee8112b42f
mention the shared DNS stuff
2006-07-07 23:08:03 +00:00
Daniel Stenberg
ca319f63ad
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).
2006-07-07 22:58:06 +00:00
Daniel Stenberg
a09a8164db
mention the by-default "sharing"
2006-07-07 22:07:10 +00:00
Daniel Stenberg
e5cf6a20a7
yassl can be used now
2006-07-07 20:48:51 +00:00
Daniel Stenberg
af5e6e7e6d
HTTP Pipelining is for GET and HEAD requests only.
2006-07-07 20:45:56 +00:00
Dan Fandrich
70f2b5e877
Fixed building curllib.dsp when running make outside the source tree.
2006-07-07 18:37:14 +00:00
Yang Tse
8ef454dcbe
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.
2006-07-07 17:34:40 +00:00
Yang Tse
551a041283
Substitution of the literal '-' is only done if it's the first or last character.
2006-07-07 14:03:17 +00:00
Yang Tse
03288943af
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.
2006-07-07 12:59:45 +00:00
Gisle Vanem
725f734bae
Correct the trace for WinCE.
2006-07-07 07:49:16 +00:00
Gisle Vanem
0f32460656
WinCE uses CreateThread(). Hence error is not in 'errno'.
2006-07-07 07:46:40 +00:00
Gisle Vanem
25180cc850
Removed copying 'stderr' since it doesn't have the desired
...
effect.
2006-07-07 07:41:47 +00:00
Daniel Stenberg
2a0e41cab9
updated after discussions and thinking
2006-07-07 07:22:05 +00:00
Yang Tse
05edd48ad0
Fix excessive escaping.
2006-07-07 05:39:13 +00:00