[BUG] http: don't set no-linger on response in case of forced close

This is a copy-paste error, it must only apply to the request.
This commit is contained in:
Willy Tarreau 2010-01-05 11:06:20 +01:00
parent 9300fb2c01
commit 2832d63874

View 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