]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[DOC] missing comment caused misinterpretation
authorwilly tarreau <willy@wtap.(none)>
Sun, 14 May 2006 21:29:47 +0000 (23:29 +0200)
committerwilly tarreau <willy@wtap.(none)>
Sun, 14 May 2006 21:29:47 +0000 (23:29 +0200)
haproxy.c

index acc97c65dc0609c69dcb77c5cd6e77df89602ec8..adeaefee32866012acedba35f0317ec62f786f85 100644 (file)
--- 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;