Project

General

Profile

Bug #9356 » wait_connectable_infinite_loop_minimal_fix.diff

shugo (Shugo Maeda), 02/21/2014 01:00 PM

View differences:

ext/socket/init.c
*/
if (ret < 0)
break;
if (sockerr == 0)
continue; /* workaround for winsock */
if (sockerr == 0) {
if (revents & RB_WAITFD_OUT)
break;
else
continue; /* workaround for winsock */
}
/* BSD and Linux use sockerr. */
errno = sockerr;
(2-2/2)