Skip to content

Commit

Permalink
cherokee_socket_connect() was not handling EHOSTUNREACH (No route to
Browse files Browse the repository at this point in the history
host) properly.
  • Loading branch information
alobbs committed Jan 5, 2012
1 parent ba9f115 commit 83ec242
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cherokee/socket.c
Expand Up @@ -1433,6 +1433,7 @@ cherokee_socket_connect (cherokee_socket_t *sock)
case EINVAL:
case ENOENT:
case ECONNRESET:
case EHOSTUNREACH:
case ECONNREFUSED:
case EADDRNOTAVAIL:
return ret_deny;
Expand Down

0 comments on commit 83ec242

Please sign in to comment.