From 83ec242c3332b091729a2fae47306c76848996ed Mon Sep 17 00:00:00 2001 From: Alvaro Lopez Ortega Date: Thu, 5 Jan 2012 11:33:44 +0100 Subject: [PATCH] cherokee_socket_connect() was not handling EHOSTUNREACH (No route to host) properly. --- cherokee/socket.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cherokee/socket.c b/cherokee/socket.c index b4f9f9d37..e85c2f689 100644 --- a/cherokee/socket.c +++ b/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;