mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
CLEANUP: spoe: Remove unused label retry
This removes the retry labels from spoe_send_frame and spoe_recv_frame
which are unused since d5216d474d, which
is unreleased, but was backported to haproxy 1.8 as
f13f3a4babdb1ce23a7e982c765704bca728111a.
This commit is contained in:
parent
9619e72c6b
commit
932bb289dd
1 changed files with 0 additions and 2 deletions
|
|
@ -1125,7 +1125,6 @@ spoe_send_frame(struct appctx *appctx, char *buf, size_t framesz)
|
|||
ret = ci_putblk(si_ic(si), buf, framesz+4);
|
||||
if (ret <= 0) {
|
||||
if ((ret == -3 && si_ic(si)->buf == &buf_empty) || ret == -1) {
|
||||
retry:
|
||||
si_applet_cant_put(si);
|
||||
return 1; /* retry */
|
||||
}
|
||||
|
|
@ -1156,7 +1155,6 @@ spoe_recv_frame(struct appctx *appctx, char *buf, size_t framesz)
|
|||
}
|
||||
if (ret <= 0) {
|
||||
if (ret == 0) {
|
||||
retry:
|
||||
return 1; /* retry */
|
||||
}
|
||||
SPOE_APPCTX(appctx)->status_code = SPOE_FRM_ERR_IO;
|
||||
|
|
|
|||
Loading…
Reference in a new issue