cvs commit: projects/csup proto.c

Maxime Henrion mux at FreeBSD.org
Wed Feb 15 16:51:23 PST 2006


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


More information about the cvs-projects mailing list