pcp
[Top] [All Lists]

patch - implement time-out for connect() in http_fetcher

To: <pcp@xxxxxxxxxxx>
Subject: patch - implement time-out for connect() in http_fetcher
From: Ryan Doyle <ryan@xxxxxxxxxxxx>
Date: Thu, 11 Apr 2013 16:25:57 +1000
Delivered-to: pcp@xxxxxxxxxxx
Reply-to: ryan@xxxxxxxxxxxx
User-agent: Roundcube Webmail/0.4.2

I originally sent this from my work email but is isn't subscribed to this list.

--

A timeout setting exists in src/libpcp_http/src/http_fetcher.c. This is a library that the Apache PMDA uses to read the server status page (the source of the apache metrics).


I noticed that this library doesn't honour the timeout value when connect()'ing to a HTTP server. The patch implements a timeout for connect() via select().


See branch "ryan" at git://github.com/ryandoyle/pcp.git.

Cheers

<Prev in Thread] Current Thread [Next in Thread>
  • patch - implement time-out for connect() in http_fetcher, Ryan Doyle <=