mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-11 14:53:05 -05:00
BUG/MINOR: resolvers: Use sc_need_room() to wait more room when dumping stats
It was a cut/paste typo during stream-interface to conn-stream refactoring. sc_have_room() was used instead of sc_need_room(). This patch must be backported as far as 2.6.
This commit is contained in:
parent
81951f264e
commit
89aeabff5b
1 changed files with 1 additions and 1 deletions
|
|
@ -2693,7 +2693,7 @@ static int stats_dump_resolv_to_buffer(struct stconn *sc,
|
|||
return 1;
|
||||
|
||||
full:
|
||||
sc_have_room(sc);
|
||||
sc_need_room(sc);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue