Skip to content

fix(buffer): incorrect short-circuiting in buffer logic#253

Merged
ldez merged 1 commit into
vulcand:masterfrom
ldez:fix/regression-buffer
May 18, 2026
Merged

fix(buffer): incorrect short-circuiting in buffer logic#253
ldez merged 1 commit into
vulcand:masterfrom
ldez:fix/regression-buffer

Conversation

@ldez

@ldez ldez commented May 13, 2026

Copy link
Copy Markdown
Member

In buffer/buffer.go, the condition body == nil was incorrectly short-circuiting the retry logic.

For requests with no body (like GET), body is always nil, so retries were silently skipped.

Related to traefik#2

Fixes #252

@ldez ldez added the bug label May 13, 2026
@ldez

ldez commented May 13, 2026

Copy link
Copy Markdown
Member Author

cc @rtribotte @juliens

@rtribotte

Copy link
Copy Markdown
Contributor

@ldez Looks good to me, we overlooked that retry part.

@ldez ldez merged commit 4f75d41 into vulcand:master May 18, 2026
5 checks passed
@ldez ldez deleted the fix/regression-buffer branch May 18, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

roundRobin v2.1.0 fails where v2.0.4 does not

2 participants