On 1/22/22 1:09 PM, minf...@apache.org wrote:
> Author: minfrin
> Date: Sat Jan 22 12:09:12 2022
> New Revision: 1897336
>
> URL: http://svn.apache.org/viewvc?rev=1897336&view=rev
> Log:
> When failing, we need to explicitly set the connection state.
>
> Modified:
> httpd/httpd/trunk/modules/ssl/mod_ssl.c
> httpd/httpd/trunk/support/ab.c
>
>
> Modified: httpd/httpd/trunk/support/ab.c
> URL:
> http://svn.apache.org/viewvc/httpd/httpd/trunk/support/ab.c?rev=1897336&r1=1897335&r2=1897336&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/support/ab.c (original)
> +++ httpd/httpd/trunk/support/ab.c Sat Jan 22 12:09:12 2022
> @@ -1434,7 +1434,7 @@ static void start_connect(struct connect
> }
> #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;
>
How is the above related to this commit?
Regards
RĂ¼diger