Revert "MEDIUM: sink: don't set NOLINGER flag on the outgoing stream interface"

This reverts commit 514a3110f0.

This one was backported by mistake, it wasn't meant to. It should not
harm anyway but better not backport stuff that doesn't need to.

Signed-off-by: Willy Tarreau <w@1wt.eu>
This commit is contained in:
Willy Tarreau
2024-07-29 16:30:42 +02:00
parent bfd43e7999
commit 9b84f98ae3

View File

@ -505,7 +505,7 @@ static int sink_forward_session_init(struct appctx *appctx)
s = appctx_strm(appctx);
s->scb->dst = addr;
s->scb->flags |= (SC_FL_RCV_ONCE);
s->scb->flags |= (SC_FL_RCV_ONCE|SC_FL_NOLINGER);
s->target = &sft->srv->obj_type;
s->flags = SF_ASSIGNED;