diff options
author | Graham Leggett <minfrin@apache.org> | 2022-01-22 13:09:12 +0100 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2022-01-22 13:09:12 +0100 |
commit | 384b51f21fa9a44c09dbc8e256fa7c4a47d4ff6d (patch) | |
tree | 1270458a70ca5fdf4b9f4d78ebd2034ac1e1a999 /support | |
parent | APR 1.3 is a requirement for building httpd 2.4 and above. (diff) | |
download | apache2-384b51f21fa9a44c09dbc8e256fa7c4a47d4ff6d.tar.xz apache2-384b51f21fa9a44c09dbc8e256fa7c4a47d4ff6d.zip |
When failing, we need to explicitly set the connection state.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897336 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support')
-rw-r--r-- | support/ab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/ab.c b/support/ab.c index 13a453f318..4a300b0f2e 100644 --- a/support/ab.c +++ b/support/ab.c @@ -1434,7 +1434,7 @@ static void start_connect(struct connection * c) } #endif if ((rv = apr_socket_connect(c->aprsock, destsa)) != APR_SUCCESS) { - if (APR_STATUS_IS_EINPROGRESS(rv)) { + if (APR_STATUS_IS_EINPROGRESS(rv) || APR_STATUS_IS_EINTR(rv)) { set_conn_state(c, STATE_CONNECTING); c->rwrite = 0; return; |