]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUG] http: don't set no-linger on response in case of forced close
authorWilly Tarreau <w@1wt.eu>
Tue, 5 Jan 2010 10:06:20 +0000 (11:06 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 Jan 2010 10:06:20 +0000 (11:06 +0100)
This is a copy-paste error, it must only apply to the request.

src/proto_http.c

index 428b056f5374827104ad8328ac9d21b05ee944a5..ae7288a7324245d292829529361ecaf19733537f 100644 (file)
@@ -3596,7 +3596,6 @@ int http_sync_res_state(struct session *s)
                         */
                        buffer_shutr_now(buf);
                        buffer_shutw_now(buf);
-                       buf->cons->flags |= SI_FL_NOLINGER;
                }
                else {
                        /* other modes include httpclose (no action) and keepalive