projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81951f2
)
BUG/MINOR: resolvers: Use sc_need_room() to wait more room when dumping stats
author
Christopher Faulet
<cfaulet@haproxy.com>
Fri, 28 Apr 2023 06:49:32 +0000
(08:49 +0200)
committer
Christopher Faulet
<cfaulet@haproxy.com>
Fri, 28 Apr 2023 06:51:34 +0000
(08:51 +0200)
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.
src/resolvers.c
patch
|
blob
|
history
diff --git
a/src/resolvers.c
b/src/resolvers.c
index
4b2e03e
..
ac0b015
100644
(file)
--- a/
src/resolvers.c
+++ b/
src/resolvers.c
@@
-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;
}