ab(1) fix (Operation already in progress (37))

Jun Kuriyama kuriyama at FreeBSD.org
Wed Apr 1 01:03:33 PDT 2009


It seems Philip already watch this issue, but I just got same problem
so propose fix to our ports CVS repo.

As reported in Bugzilla for Apache (bug#44584), ab(1) failed to
continue connecting when using concurrent (or many) connections.

> apr_socket_connect(): Operation already in progress (37)

Fix for this was committed into trunk, and this patch can be applied
to 2.2.11 without problem.

I tested this patch locally, and it works fine.

--- suggested log
- Add a patch to fix ab(1) fails to connect with "Operation already in
  progress (37)" errno.

References:	https://issues.apache.org/bugzilla/show_bug.cgi?id=44584
Obtained from:	http://svn.apache.org/viewvc/httpd/httpd/trunk/support/ab.c?r1=748396&r2=749438

Jun Kuriyama <kuriyama at FreeBSD.org> // FreeBSD Project
         <kuriyama at s2factory.co.jp> // S2 Factory, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apache22.diff
Type: application/octet-stream
Size: 9882 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-apache/attachments/20090401/beb74805/apache22.obj

More information about the freebsd-apache mailing list