mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-02-09 11:21:20 +01:00
BUG/MEDIUM: spoe: Allow producer to read and to forward shutdown on request side
This is mandatory to correctly set right timeout on the stream. Else the client timeout is never set. So only SPOE processing timeout will be evaluated. If it is not defined (ie infinity), the stream can be blocked for a while, waiting the SPOA reply. Of course, this is not a good idea to let the SPOE processing timeout undefined, but it can happen. This patch must be backported in 1.8.
This commit is contained in:
parent
d5216d474d
commit
9cdca976d3
@ -3088,7 +3088,7 @@ spoe_chn_pre_analyze(struct stream *s, struct filter *filter,
|
||||
}
|
||||
|
||||
out:
|
||||
if (!ret) {
|
||||
if (!ret && (chn->flags & CF_ISRESP)) {
|
||||
channel_dont_read(chn);
|
||||
channel_dont_close(chn);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user