cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: exception in ConnectPlease

From: T. Bharath <TBharath_at_responsenetworks.com>
Date: Tue, 23 Oct 2001 06:17:15 -0400

Just to add
The os iam using is NT and there are three diffrent threads trying to download
about 30 urls,each thread uses a different handle and the handle is being reused
by the thread for multiple downloads.It perfectly works fine with earlier
version 7.9 of the library

Regards
Bharath

Daniel Stenberg wrote:

> On Tue, 23 Oct 2001, T. Bharath wrote:
>
> > At this point in time i dont have much info other than that in
> > *addr = (struct in_addr *)remotehost->h_addr_list[aliasindex];
> > aliasindex refers to an invalid index and this causes the crash when the
> > memcpy is done after the call to this func
>
> That is weird indeed.
>
> > But what surprises me is that you do check for it in
> > for(rc=-1, aliasindex=0;
> > rc && (struct in_addr *)remotehost->h_addr_list[aliasindex];
> > aliasindex++) {
>
> Yeps.
>
> > Currently iam switching back to an earlier versionBut will look into it
> > after sometime
>
> Could you post to the libcurl mailing list and tell people about this issue?
> We might be able to get some help from others if we feed them with what we
> have now...
>
> --
> Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
> ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on 2001-10-23