commit | 14cba4b0b1240e207ac8df3d876d71da60ccb42d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Nov 30 17:33:05 2012 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 03 14:22:13 2012 +0100 |
tree | 08330ccfafe454ed652c8261520fbe5c4a03d7c1 | |
parent | d1b3f0498d866d6dad38a3ba23dc40b1f74a192b [diff] [blame] |
MEDIUM: connection: add an error code in connections This will be needed to improve error reporting, especially for SSL.
diff --git a/src/checks.c b/src/checks.c index a0637c2..394d29e 100644 --- a/src/checks.c +++ b/src/checks.c
@@ -1298,6 +1298,7 @@ /* prepare a new connection */ conn->flags = CO_FL_NONE; + conn->err_code = CO_ER_NONE; conn->target = &s->obj_type; conn_prepare(conn, &check_conn_cb, s->check.proto, s->check.xprt, s);