Skip to content
Browse files

cherokee_socket_connect() was not handling EHOSTUNREACH (No route to

host) properly.
  • Loading branch information...
1 parent ba9f115 commit 83ec242c3332b091729a2fae47306c76848996ed @alobbs alobbs committed Jan 5, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 cherokee/socket.c
View
1 cherokee/socket.c
@@ -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;

0 comments on commit 83ec242

Please sign in to comment.
Something went wrong with that request. Please try again.