Index: outgoing.c =================================================================== --- outgoing.c (revision 1496) +++ outgoing.c (working copy) @@ -1079,7 +1079,8 @@ } } if ((events & APR_POLLHUP) != 0) { - return APR_ECONNRESET; + reset_connection(conn, 1); + return APR_SUCCESS; } if ((events & APR_POLLERR) != 0) { /* We might be talking to a buggy HTTP server that doesn't