libdrizzle fails to connect to uds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
New
|
Undecided
|
Unassigned |
Bug Description
A successful connect() call when connecting to a unix domain socket results in an infinite loop of calls back to drizzle_
do {
if (connect(con->fd, (struct sockaddr *)&servAddr, sizeof(servAddr)) < 0)
{
switch (errno)
{
case EINPROGRESS:
case EALREADY:
case EINTR:
continue;
case EISCONN: /* We were spinning waiting on connect */
{
break;
}
default:
return DRIZZLE_
}
}
//This else added by eric to get a successful connection
else
{
break;
}
} while (0);