cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Persistant Connections testing

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 28 Nov 2001 13:14:03 +0100 (MET)

On Wed, 28 Nov 2001, Dimitris Sarris wrote:

> So, we can say that the problem is related to the Tru64 version of
> libcurl.

I think that is a correct conclusion. Could you try applying this patch and
test again:

--- ftp.c 2001/11/27 00:50:52 1.112
+++ ftp.c 2001/11/28 12:12:11
@@ -815,7 +815,7 @@
   char hostent_buf[8192];

 #if defined(HAVE_INET_ADDR)
- unsigned long address;
+ in_addr_t address;
 # if defined(HAVE_GETHOSTBYADDR_R)
   int h_errnop;
 # endif

According to this document:
http://www.tru64unix.compaq.com/com/white/porting.html the 'in_addr_t' type
is 32-bit even on 64-bit platforms, which could be an explanation to your
problems.

> Is there a stable version of libcurl for Tru64 in order to use it? Any
> pre-compiled versions?

I don't know any other than the ones from thewrittenword.com.

> I have only found a pre-compiled v.2-8-1 for Tru64, but it depends to the
> corresponding SSL packages that I have not installed.

You mean curl 7.8.1?

> Can I install it with no problem?

I don't know.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-11-28