diff options
Diffstat (limited to 'proxy')
-rw-r--r-- | proxy/proxy_http_rewriter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy/proxy_http_rewriter.c b/proxy/proxy_http_rewriter.c index cb7c94b..afd929c 100644 --- a/proxy/proxy_http_rewriter.c +++ b/proxy/proxy_http_rewriter.c @@ -381,7 +381,7 @@ rewrite_connection_init( RewriteConnection* conn ) conn->state = STATE_CONNECTING; if (socket_connect( root->socket, &service->server_addr ) < 0) { - if (errno == EINPROGRESS || errno == EWOULDBLOCK) { + if (errno == EINPROGRESS || errno == EWOULDBLOCK || errno == EAGAIN) { PROXY_LOG("%s: connecting", conn->root->name); } else { |