httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Small patch to ab apr_socket_recv error handling
Date Mon, 26 Feb 2007 20:06:14 GMT
I've created a small patch that lets ab continue even if it encounters 
an error on apr_socket_recv

quite commonly, when servers are overloaded they disconnect the socket, 
ab receives a 104 (connection reset by peer) and the ab test exits.

This patch logs the error, both counters correctly, cleans up the 
connection and continues.

thoughts?

Filip

Mime
View raw message