-
Notifications
You must be signed in to change notification settings - Fork 214
Open
Description
If I read this code right:
Line 209 in 2dd13ae
/* Connect to the remote endpoint. */ |
int rc = connect(s, (struct sockaddr*)&addr, mill_iplen(addr));
if(rc != 0) {
mill_assert(rc == -1);
if(errno != EINPROGRESS)
return NULL;
rc = fdwait(s, FDW_OUT, deadline);
if(rc == 0) {
errno = ETIMEDOUT;
return NULL;
}
On fdwait() timeout, the "s" never gets "closed()".
Metadata
Metadata
Assignees
Labels
No labels