Yang Tse
eceb37bde2
Cygwin 1.5.21 needs this hack to pass test 160.
...
In this way 304 tests out of 304 reported OK.
2006-10-09 00:35:36 +00:00
Daniel Stenberg
1128029599
don't display or act on state changes that doesn't actually change state
2006-10-07 21:04:57 +00:00
Daniel Stenberg
befc30bc55
Bogdan Nicula's hanging test case was converted to test case 533 and the test
...
now runs fine.
2006-10-06 21:19:57 +00:00
Gunter Knauf
8547ab1663
updated for latest OpenSSL release.
2006-10-06 00:24:25 +00:00
Daniel Stenberg
552b963e6d
Dmitriy Sergeyev provided an example source code that crashed CVS libcurl
...
but that worked nicely in 7.15.5. I converted it into test case 532 and
fixed the problem.
2006-10-04 21:11:08 +00:00
Daniel Stenberg
e2b48366d3
removed more dead code that is unused since the removal of the third party
...
transfer support
2006-10-02 13:00:54 +00:00
Daniel Stenberg
5e0d9aea32
Support for FTP third party transfers is now dropped
2006-09-30 20:31:11 +00:00
Daniel Stenberg
ae13c93b7d
Reported in #1561470 ( http://curl.haxx.se/bug/view.cgi?id=1561470 ), libcurl
...
would crash if a bad function sequence was used when shutting down after
using the multi interface (i.e using easy_cleanup after multi_cleanup) so
precautions have been added to make sure it doesn't any more - test case 529
was added to verify.
2006-09-28 21:26:06 +00:00
Daniel Stenberg
68e9f75708
As reported in bug: #1566077 the former URL mentioned in the generated cookie
...
jar has died and we now instead point out our own version of that
2006-09-27 21:00:45 +00:00
Yang Tse
15d8bb2105
Compiler warning fix
2006-09-25 00:54:32 +00:00
Yang Tse
b2ca777a08
Compiler warning fix
2006-09-25 00:16:23 +00:00
Yang Tse
ba01198e6c
Compiler warning fix
2006-09-25 00:05:39 +00:00
Yang Tse
6ebd5e1761
Compiler warning fix
2006-09-24 23:55:53 +00:00
Daniel Stenberg
1fa3a5cce9
Cory Nelson made libcurl use the WSAPoll() function if built for Windows
...
Vista (_WIN32_WINNT >= 0x0600)
2006-09-24 10:41:00 +00:00
Daniel Stenberg
9cd928674f
standard curl source code headers
2006-09-23 19:09:39 +00:00
Daniel Stenberg
3ea8a4d220
Dmitriy Sergeyev provided a patch that made the SOCKS[45] code work better as
...
it now will read the full data sent from servers. The SOCKS-related code was
also moved to the new lib/socks.c source file.
2006-09-23 19:07:20 +00:00
Daniel Stenberg
ab798fe5ba
(FTP) a failed upload does not invalidate the control connection
2006-09-21 20:52:58 +00:00
Daniel Stenberg
ec4a16f2e0
Armel Asselin fixed problems when you gave a proxy URL with user name and
...
empty password or no password at all. Test case 278 and 279 were added to
verify.
2006-09-20 21:49:41 +00:00
Daniel Stenberg
71920d61e6
Michael Wallner's test program again help me track down a problem. This time
...
it basically was that we didn't remove the current connection from the pipe
list when following a redirect. Also in this commit: several cases of
additional debug code for debug builds helping to check and track down some
signs of run-time trouble.
2006-09-20 12:03:50 +00:00
Daniel Stenberg
2d5fc39d35
Resize the connection cache upwards when adding more handles than what
...
currently fits in the cache, to make the cache work better especially for
pipelining cases but also for "mere" (persistent) connection re-use.
2006-09-16 21:50:29 +00:00
Daniel Stenberg
c001ed53fa
Armel Asselin - When the easy handle is removed from the multi while libcurl
...
is still trying to resolve the host name, it seems that the ftp struct is not
yet initialized, but the removal action calls Curl_done() which calls
Curl_ftp_done. So we simply return success from there if no ftp pointer is
set.
2006-09-16 20:57:59 +00:00
Daniel Stenberg
39e01e9349
file-local function should be static and not use Curl_ prefix!
...
Curl_signalPipeClose is now signalPipeClose().
2006-09-15 08:47:55 +00:00
Yang Tse
7d3e719a2c
Compiler warning fix
2006-09-13 12:42:12 +00:00
Yang Tse
733a184ce0
Compiler warning fix
2006-09-12 23:51:01 +00:00
Daniel Stenberg
7c5745720a
If the current connection doesn't fit to get added to the connection cache,
...
we certainly MUST NOT kill an active connection... Problem tracked down thanks
to Michael Wallner's excellent test program.
2006-09-11 20:50:58 +00:00
Daniel Stenberg
29dc39fce1
- Fixed my breakage from earlier today so that doing curl_easy_cleanup() on a
...
handle that is part of a multi handle first removes the handle from the
stack.
- Added CURLOPT_SSL_SESSIONID_CACHE and --no-sessionid to disable SSL
session-ID re-use on demand since there obviously are broken servers out
there that misbehave with session-IDs used.
2006-09-11 17:18:18 +00:00
Daniel Stenberg
5c184cfc0d
stupid mistake rectified by Jeff Pohlmeyer
2006-09-11 11:25:47 +00:00
Yang Tse
055022a55f
Compiler warning fix
2006-09-10 23:45:54 +00:00
Yang Tse
c30e908034
Compiler warning fix
2006-09-10 23:37:42 +00:00
Daniel Stenberg
8240cea628
Jeff Pohlmeyer presented a *multi_socket()-using program that exposed a
...
problem with it (SIGSEGV-style). It clearly showed that the existing
socket-state and state-difference function wasn't good enough so I rewrote
it and could then re-run Jeff's program without any crash. The previous
version clearly could miss to tell the application when a handle changed
from using one socket to using another.
While I was at it (as I could use this as a means to track this problem
down), I've now added a 'magic' number to the easy handle struct that is
inited at curl_easy_init() time and cleared at curl_easy_cleanup() time that
we can use internally to detect that an easy handle seems to be fine, or at
least not closed or freed (freeing in debug builds fill the area with 0x13
bytes but in normal builds we can of course not assume any particular data
in the freed areas).
2006-09-10 22:15:32 +00:00
Daniel Stenberg
f2a33eb372
Added a useful debug function within #if 0. The function makes it easy to
...
"dump" a hash table which is useful when tracking problems with data stored
in one of our hashes.
2006-09-10 22:12:24 +00:00
Gisle Vanem
690888cfc1
SIGALARM -> SIGALRM.
2006-09-09 19:13:13 +00:00
Gisle Vanem
fb8d9b6645
#ifdef around alarmfunc() to supress warning.
2006-09-09 19:11:54 +00:00
Gisle Vanem
f7ddb39ee1
iconv-data needs to be fully reallocated (to prevent a double-free).
2006-09-09 18:23:29 +00:00
Gisle Vanem
f1ba12607a
Duplicate iconv-data too in curl_easy_duphandle().
2006-09-09 16:36:05 +00:00
Yang Tse
bb87b65f08
Compiler warning fix
2006-09-09 13:24:42 +00:00
Daniel Stenberg
b0f6e7cee4
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.
2006-09-09 11:45:27 +00:00
Daniel Stenberg
ed72d4e104
tab => space
2006-09-09 11:45:05 +00:00
Daniel Stenberg
8ec1bfe897
Peter Sylvester cleaned up and fixed the getsockname() uses in ftp.c. Some
...
of them can be completetly removed though...
2006-09-08 22:17:39 +00:00
Gisle Vanem
1dec17562f
signal() returns 'void (*)(int)'.
2006-09-08 13:06:41 +00:00
Gisle Vanem
be1306a6c2
Update comment reflecting structure change.
2006-09-08 12:17:58 +00:00
Gisle Vanem
0a670c578f
Compilation fix; 'reqdata' is not a pointer. 'path' is part of SessionHandle.
2006-09-08 12:03:39 +00:00
Yang Tse
dc7c915553
Compilation fix
2006-09-08 05:18:07 +00:00
Daniel Stenberg
b7eeb6e67f
Major overhaul introducing http pipelining support and shared connection
...
cache within the multi handle.
2006-09-07 21:49:20 +00:00
Yang Tse
7e4193b538
Fix compiler warning
2006-09-07 01:18:46 +00:00
Daniel Stenberg
0bb3ac7c31
Jari Sundell's minor cleanup, added comments and some extra error-checkings
...
for easier future error-tracking.
2006-09-04 22:19:13 +00:00
Daniel Stenberg
466d093a92
- "Dortik" ( http://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.
2006-09-03 22:52:42 +00:00
Gisle Vanem
4f4277d9c7
Simplified #ifdef on WIN32; the statement
...
" !defined(__GNUC__) || defined(__MINGW32__)" implies
CygWin.
2006-09-03 13:52:07 +00:00
Daniel Stenberg
d7168a82e2
Dmitriy Sergeyev found and fixed a multi interface flaw when using asynch
...
name resolves. It could get stuck in the wrong state.
2006-08-31 12:53:39 +00:00
Gisle Vanem
c9c8ee3796
Added HAVE_SYS_TIME_H for djgpp and HighC.
2006-08-30 16:18:03 +00:00
Gisle Vanem
c7aae10300
Removed "#ifndef__WATCOMC__". Use "#ifdef HAVE_SYS_TIME_H" instead.
2006-08-30 16:17:06 +00:00
Gisle Vanem
4031eb1d91
Avoid Metaware's High-C warning "'=' encountered where '==' may have been intended."
2006-08-29 21:11:55 +00:00
Gisle Vanem
59cf6fd4f0
Watcom lacks <sys/time.h>.
2006-08-29 18:45:55 +00:00
Gisle Vanem
6de9732a88
Added support for Watcom/DOS.
2006-08-29 18:40:36 +00:00
Gisle Vanem
1f7f500922
Updated dependency section.
2006-08-29 18:17:43 +00:00
Gisle Vanem
4b1462ec65
Don't include zlib headers in dependency output.
2006-08-29 18:13:54 +00:00
Gisle Vanem
6ed47f0aad
Renamed config.dj -> config.dos.
2006-08-29 16:40:47 +00:00
Gisle Vanem
2d8c7ba9fc
Use config.dos instead. Updated generated dependencies.
2006-08-29 16:35:11 +00:00
Gisle Vanem
3b342d18bc
Removed. New file is config.dos.
2006-08-29 16:34:40 +00:00
Gisle Vanem
f24ad3800c
Renamed config.dj -> config.dos. Added #ifdef-section for djgpp.
2006-08-29 16:33:41 +00:00
Gisle Vanem
e2ff369eba
BUFSIZE defined in Metaware's <stdio.h>. Undefine to avoid warning.
2006-08-29 16:27:13 +00:00
Gisle Vanem
9691a78f6b
Support other MS-DOS compilers (MSDOS is a djgpp built-in define).
2006-08-29 16:26:41 +00:00
Daniel Stenberg
5acadc9cd7
David McCreedy added CURLOPT_SOCKOPTFUNCTION and CURLOPT_SOCKOPTDATA to
...
allow applications to set their own socket options.
2006-08-29 14:39:33 +00:00
Daniel Stenberg
2ff609dd43
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().
2006-08-25 13:53:20 +00:00
Daniel Stenberg
bdbd0cf27a
David McCreedy fixed a remaining mistake from the August 19 TYPE change.
2006-08-22 21:23:25 +00:00
Daniel Stenberg
d792937686
Peter Sylvester pointed out a flaw in the AllowServerConnect() in the FTP
...
code when doing pure ipv6 EPRT connections.
2006-08-22 21:21:01 +00:00
Dan Fandrich
77516822f6
Workaround for Cray UNICOS 9.0 to fix ftp.
2006-08-21 22:28:19 +00:00
Daniel Stenberg
cfdcae4bc7
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.
2006-08-19 21:18:36 +00:00
Daniel Stenberg
74a6921bc4
Armel Asselin fixed a crash in the FTP code when using SINGLECWD mode and
...
files in the root directory.
2006-08-18 23:17:33 +00:00
Daniel Stenberg
490cccba3c
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.
2006-08-18 22:54:57 +00:00
Dan Fandrich
839441e236
Minor portability fixes to get things running on UNICOS 9.0 on a Cray Y-MP
2006-08-16 18:48:27 +00:00
Gisle Vanem
455087faae
Use gnutls_strerror() for clearer error message.
2006-08-16 17:05:54 +00:00
Gisle Vanem
31def9e217
Use '_LIBICONV_VERSION' instead of variable '_libiconv_version'
...
to support older iconv versions.
2006-08-15 17:02:24 +00:00
Dan Fandrich
eb26a581f9
Use __minix to detect Minix, which works on both ACK and GCC.
2006-08-11 18:11:42 +00:00
Dan Fandrich
4272af801f
Only define the string prototypes in ANSI mode to reduce interference on
...
systems that prototype them slightly differently.
2006-08-09 16:36:17 +00:00
Gunter Knauf
93943ef949
added build info output.
2006-08-09 14:04:51 +00:00
Gunter Knauf
b184b87714
fixed some web links.
2006-08-09 13:59:39 +00:00
Daniel Stenberg
1eedad27a2
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.
2006-08-08 22:56:46 +00:00
Gunter Knauf
ac02d379ba
moved ugly NetWare hack to hostip.h so that hostip.c uses it too.
2006-08-08 22:37:53 +00:00
Daniel Stenberg
a4ebf5b507
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.
2006-08-08 21:12:49 +00:00
Dan Fandrich
997a987943
Minix 3 doesn't have MSG_PEEK
2006-08-08 18:47:14 +00:00
Yang Tse
b33f47804d
Allow again proper compilation outside of the source tree
2006-08-07 18:06:37 +00:00
Dan Fandrich
c012e2b408
Initial stab at making libcurl compile under Minix 3.
2006-08-04 18:53:47 +00:00
Yang Tse
646a6b604f
Minor compatibility fix
2006-08-04 17:35:05 +00:00
Gisle Vanem
cca00a6378
Added version info for iconv.
2006-08-04 16:10:48 +00:00
Gisle Vanem
21aa8f0b45
Added dependency for splay.obj.
2006-08-04 15:57:07 +00:00
Daniel Stenberg
8709f6c4b3
oops, the previous commit was incomplete as we made an unconditional call
...
to multi_runsingle() without it being really necessary or good
2006-08-04 14:39:19 +00:00
Daniel Stenberg
2ac560e58b
even when we get a single connection to deal with, we must still check for
...
timeout'ed connections and possibly deal with them too
2006-08-04 13:06:36 +00:00
Yang Tse
8f8ba9486d
Fix compiler warning
2006-08-04 02:49:04 +00:00
Yang Tse
f55924b3e0
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.
2006-08-04 01:13:24 +00:00
Daniel Stenberg
01a79be2c9
removed running_handles argument from multi_runsingle() since it wasn't really
...
used anymore since multi->num_alive was introduced
2006-08-03 11:47:42 +00:00
Yang Tse
d211fcd34f
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.
2006-08-03 11:41:49 +00:00
Daniel Stenberg
159834171e
keep count of the number of "alive" handles in a struct member, as otherwise
...
*multi_socket*() can't return the proper number
2006-08-02 22:29:29 +00:00
Daniel Stenberg
8a38c72c48
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
2006-08-02 18:18:47 +00:00
Daniel Stenberg
ee642859ef
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
2006-08-01 09:39:01 +00:00
Daniel Stenberg
9f579f12fc
spell-fixed a comment
2006-08-01 09:38:35 +00:00
Yang Tse
9dde0b54a3
Silence warning: empty body in an if-statement
2006-07-31 17:46:28 +00:00
Yang Tse
f1343b2f55
Force compilation failure in case macros sread() or swrite() are not defined.
2006-07-31 17:12:24 +00:00
Yang Tse
962b7985e6
Provide definitions needed for macros sread() and swrite() in config file.
2006-07-31 16:58:10 +00:00
Daniel Stenberg
01b2cf82ec
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.
2006-07-30 22:44:07 +00:00
Yang Tse
c033c4c71c
Winsock and Cygwin need address family specification before bind(), this should be harmless for others.
2006-07-29 16:17:36 +00:00
Yang Tse
77b3bc239d
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.
2006-07-28 14:19:02 +00:00
Daniel Stenberg
a88deadd6f
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)
2006-07-27 22:35:09 +00:00
Daniel Stenberg
e6ea8f1199
put back the correct logic, as the change dated July 11th 2006 added bad
...
behaviour and a socket leak
2006-07-27 22:28:53 +00:00
Daniel Stenberg
6f6b93da02
[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.
2006-07-26 22:19:42 +00:00
Daniel Stenberg
2527b53019
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.
2006-07-25 22:45:21 +00:00
Daniel Stenberg
78a47826b2
Michael Jerris added magic that builds lib/curllib.vcproj automatically (for
...
newer MSVC versions)
2006-07-25 22:06:42 +00:00
Yang Tse
ecfaa4f869
Fix warning: no newline at end of file
2006-07-25 18:48:12 +00:00
Daniel Stenberg
f36adcdb73
Georg Horn made the transfer timeout error message include more details
2006-07-25 18:38:51 +00:00
Yang Tse
13616f8f96
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>.
2006-07-25 13:49:49 +00:00
Gisle Vanem
ab486d1e27
Silence iconv() warnings.
2006-07-25 11:35:35 +00:00
Gisle Vanem
4a1a1a75fb
Added note for CURLRES_ARES and CURLRES_IPV6.
2006-07-25 10:49:12 +00:00
Gisle Vanem
e4d6ade4b3
Moved functions common to IPv4 and C-ares to hostip.c;
...
Curl_freeaddrinfo() and Curl_ip2addr().
2006-07-25 10:31:31 +00:00
Gisle Vanem
c82e880f5b
Remove comment about c-ares not supporting IPv6.
2006-07-25 10:23:15 +00:00
Gisle Vanem
f2aa3b21e0
Use the proper Curl_freeaddrinfo() for CURLRES_ARES.
2006-07-24 15:58:33 +00:00
Gisle Vanem
385db0e97d
Fix typo.
2006-07-24 15:56:40 +00:00
Gisle Vanem
4e58da5222
Ares needs CURLRES_ADDRINFO_COPY. Curl_hostent_relocate() is gone.
2006-07-24 15:48:48 +00:00
Daniel Stenberg
1c6ebb0782
added splay.o
2006-07-23 12:01:06 +00:00
Gisle Vanem
c4ad533300
Constify some arguments in Curl_connecthost() and singleipconnect().
2006-07-21 06:50:39 +00:00
Gisle Vanem
5cdbd0cf4a
Constify arguments to Curl_he2ai() and Curl_addrinfo_copy().
2006-07-21 06:21:46 +00:00
Gisle Vanem
a55c70d4ae
Constify 'hostname' and 'service' to various resolver functions.
2006-07-21 05:51:12 +00:00
Gisle Vanem
02938a010d
Changes for combination ENABLE_IPV6 and USE_ARES.
2006-07-21 04:22:44 +00:00
Gisle Vanem
e40641bf7c
Use calloc() instead.
2006-07-21 04:19:44 +00:00
Daniel Stenberg
27c0b43897
David McCreedy fixed a build error when building libcurl with HTTP disabled,
...
problem added with the curl_formget() patch.
2006-07-20 20:04:52 +00:00
Gisle Vanem
d46de5ab8b
Avoid warning "comparison of unsigned expression < 0 is always false"
2006-07-20 16:37:05 +00:00
Gisle Vanem
73ebb0edde
Avoid warning 'port' might be used uninitialized in this function.
2006-07-20 15:54:01 +00:00
Dan Fandrich
684245d6ce
Changes to support building for eCos 1.3.1. This has been tested with
...
file: URLs only.
2006-07-19 22:27:49 +00:00
Yang Tse
d157c29269
Fix compiler warnings
2006-07-19 21:14:02 +00:00
Yang Tse
483a586d55
Avoid variable declaration shadowing previously declared one
2006-07-19 18:46:56 +00:00
Yang Tse
4ac54f8c2c
remove variable declaration shadowing previously declared one
2006-07-19 18:32:38 +00:00
Yang Tse
840aacf7dd
Remove variable declaration shadowing previously declared one
2006-07-19 18:19:30 +00:00
Yang Tse
ef82da93fb
"*connected" must be set to FALSE if trynextip() fails.
2006-07-17 19:22:28 +00:00
Daniel Stenberg
06d05b18b2
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.
2006-07-17 18:35:58 +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
f3c508f6e8
Update error buffer size used for SSL_strerror()
2006-07-17 05:05:57 +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
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
700cd5805c
Oops, missing "u"
2006-07-13 18:57:34 +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
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
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
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
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