https://issues.apache.org/bugzilla/show_bug.cgi?id=44584


Ivan Voras <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |




--- Comment #2 from Ivan Voras <[EMAIL PROTECTED]>  2008-05-12 15:40:12 PST ---
(In reply to comment #1)
> EINTR is checked by apr_socket_connect while making the actual
> system call for connect.
> 
> If this isn't working, perhaps a different system call is not
> being restarted.  Please grab the latest version of ab.c
> from trunk and see if that fixes your issues.
> 
> http://svn.apache.org/repos/asf/httpd/httpd/trunk/support/ab.c
> 

The newest version doesn't work:

$ ./ab -c 20 -n 100 http://my.host/
This is ApacheBench, Version 2.3 <$Revision$>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking my.host (be patient)...
Test aborted after 10 failures

apr_socket_connect(): Operation already in progress (37)
Total of 55 requests completed

It seems like errno=37 (EALREADY) also needs to be checked:

     37 EALREADY Operation already in progress.  An operation was attempted on
             a non-blocking object that already had an operation in progress.

There is no APR_STATUS_IS_EALREADY.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to