On Sun, Jan 03, 2010 at 01:45:07AM +0100, Krzysztof Piotr Oledzki wrote: > >From 89baa36c17701a2abd6de629b3e0f360c194c6dc Mon Sep 17 00:00:00 2001 > From: Krzysztof Piotr Oledzki <o...@ans.pl> > Date: Sat, 2 Jan 2010 22:03:01 +0100 > Subject: [BUG] Healthchecks: get a proper error code if connection cannot be > completed immediately > > In case of a non-blocking socket, used for connecting to a remote > server (not localhost), the error reported by the health check > was most of a time one of EINPROGRESS/EAGAIN/EALREADY. > > This patch adds a getsockopt(..., SO_ERROR, ...) call so now > the proper error message is reported. > ---
Applied, thanks Krzysztof! Willy