From 51e912947e71e9fd90693f498f899e0c97a6d48e Mon Sep 17 00:00:00 2001 From: willy tarreau Date: Sun, 14 May 2006 23:29:47 +0200 Subject: [PATCH] [DOC] missing comment caused misinterpretation --- haproxy.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/haproxy.c b/haproxy.c index acc97c65dc..adeaefee32 100644 --- a/haproxy.c +++ b/haproxy.c @@ -4856,6 +4856,9 @@ int process_srv(struct session *t) { tv_eternity(&t->cnexpire); if (t->pend_pos) t->logs.t_queue = tv_diff(&t->logs.tv_accept, &now); + /* note that this must not return any error because it would be able to + * overwrite the client_retnclose() output. + */ srv_close_with_err(t, SN_ERR_CLICL, t->pend_pos ? SN_FINST_Q : SN_FINST_C, 0, 0, NULL); return 1; -- 2.47.3