cvs commit: projects/csup proto.c
Maxime Henrion <[email protected]> Thu, 16 Feb 2006 00:51:22 +0000 (UTC)
| Newsgroups | gmane.os.freebsd.devel.cvs.projects |
|---|---|
| Message-ID | <[email protected]> |
mux 2006-02-16 00:51:22 UTC
FreeBSD projects repository
Modified files:
csup proto.c
Log:
After the select() call waiting for the asynchronous connection to finish
has returned, we need to retrieve SO_ERROR with getsockopt() to ensure
that the connection was really successful. We don't even do asynchronous
connections ourselves, but they happen anyway if the connect() call is
interrupted and returns EINTR. That makes quite some code for such a
rare event, so put it in a new function called proto_waitconnect().
Revision Changes Path
1.70 +35 -13 projects/csup/proto.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-projects
To unsubscribe, send any mail to "[email protected]"