Skip to content
This repository
Browse code

cherokee_socket_connect() was not handling EHOSTUNREACH (No route to

host) properly.
  • Loading branch information...
commit 83ec242c3332b091729a2fae47306c76848996ed 1 parent ba9f115
Alvaro Lopez Ortega authored January 05, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  cherokee/socket.c
1  cherokee/socket.c
@@ -1433,6 +1433,7 @@ cherokee_socket_connect (cherokee_socket_t *sock)
1433 1433
 		case EINVAL:
1434 1434
 		case ENOENT:
1435 1435
 		case ECONNRESET:
  1436
+		case EHOSTUNREACH:
1436 1437
 		case ECONNREFUSED:
1437 1438
 		case EADDRNOTAVAIL:
1438 1439
 			return ret_deny;

0 notes on commit 83ec242

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