cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-486756 ] Testcase 19 fails on RH7.1

From: <noreply_at_sourceforge.net>
Date: Wed, 28 Nov 2001 15:47:40 -0800

Bugs item #486756, was opened at 2001-11-28 15:47
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=486756&group_id=976

Category: libcurl
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: James Garrison (jhg)
Assigned to: Daniel Stenberg (bagder)
Summary: Testcase 19 fails on RH7.1

Initial Comment:
curl 7.9.1 with SSL on RH7.1 with kernel 2.4.9-12

In connect.c line 501 non-blocking connect is
attempted. In testcase 19, the test is to connect
to a non-existent socket (60000). This particular
kernel returns EINPROGRESS, and then returns
ZERO in line 519 rc = waitconnect(sockfd, timeout_ms);

This causes cURL to think the connection was
successful, resulting in a WRITE_ERROR (23)
later instead of a failed connection (7). This
causes the testcase to fail.

Is this a kernel problem?
  

----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=486756&group_id=976
Received on 2001-11-29