]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: add more error codes to report connection errors
authorWilly Tarreau <w@1wt.eu>
Fri, 24 Jan 2014 15:06:50 +0000 (16:06 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 24 Jan 2014 15:15:04 +0000 (16:15 +0100)
commit45b34e8abc1feff7a219354e6295f87c687aa105
treeb68d770d859293055c36ae6b8a7c852cd91d5973
parentee330afba09bf82e52c6f74fae45c17104efea90
MINOR: connection: add more error codes to report connection errors

It is quite often that an connection error only reports "socket error" with
no more information. This is especially problematic with health checks where
many causes are possible, including resource exhaustion which do not lead to
a valid errno code. So let's add explicit codes to cover these cases.
include/proto/connection.h
include/types/connection.h