mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-05 00:59:16 -04:00
BUG/MEDIUM: proxy: Don't forget the SF_HTX flag when upgrading TCP=>H1+HTX.
In stream_end_backend(), if we're upgrading from TCP to H1/HTX, as we don't destroy the stream, we have to add the SF_HTX flag on the stream, or bad things will happen. This was broken when attempting to fix github issue #196. This should be backported to 2.0.
This commit is contained in:
parent
9d00869323
commit
71b20c26be
1 changed files with 1 additions and 0 deletions
|
|
@ -1471,6 +1471,7 @@ int stream_set_backend(struct stream *s, struct proxy *be)
|
|||
s->flags |= SF_IGNORE;
|
||||
return 0;
|
||||
}
|
||||
s->flags |= SF_HTX;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue