Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Dev
Small patch to ab apr_socket_recv error handling
 

Index | Next | Previous | View Flat


devlists at hanik

Feb 26, 2007, 12:06 PM


Views: 1897
Permalink
Small patch to ab apr_socket_recv error handling

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
Attachments: fix-ab-recv-error.patch (0.55 KB)

Subject User Time
Small patch to ab apr_socket_recv error handling devlists at hanik Feb 26, 2007, 12:06 PM
    Re: Small patch to ab apr_socket_recv error handling aaron at clove Feb 27, 2007, 9:56 AM
        Re: Small patch to ab apr_socket_recv error handling devlists at hanik Feb 27, 2007, 11:18 AM
            Re: Small patch to ab apr_socket_recv error handling devlists at hanik Feb 28, 2007, 9:07 AM
                Re: Small patch to ab apr_socket_recv error handling devlists at hanik Mar 2, 2007, 1:05 PM
                    Re: Small patch to ab apr_socket_recv error handling trawick at gmail Mar 3, 2007, 4:33 AM
    Re: Small patch to ab apr_socket_recv error handling devlists at hanik Mar 7, 2007, 4:20 PM
        Re: Small patch to ab apr_socket_recv error handling devlists at hanik Mar 8, 2007, 7:18 AM
        Re: Small patch to ab apr_socket_recv error handling trawick at gmail Mar 8, 2007, 7:26 AM
    Re: Small patch to ab apr_socket_recv error handling devlists at hanik Mar 8, 2007, 8:30 AM
        Re: Small patch to ab apr_socket_recv error handling trawick at gmail Mar 8, 2007, 1:00 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.