Skip to content

Read past a value too large for the buffer before reporting it - #7

Merged
lalinsky merged 1 commit into
mainfrom
value-too-large
Oct 14, 2026
Merged

lalinsky merged 1 commit into
mainfrom
value-too-large

Conversation

@lalinsky

Copy link
Copy Markdown
Owner

get returned ValueTooLarge before reading the value, and the error counts as resumable, so the connection went back to the pool with the value still unread: the next call on it read that as its response. Read past the value first, which makes the error resumable for real.

The test turns retries off, as a retry on a new connection would cover for the one left mid-response.

get returned ValueTooLarge before reading the value, and the error counts
as resumable, so the connection went back to the pool with the value
still unread: the next call on it read that as its response. Read past
the value first, which makes the error resumable for real.
@coderabbitai

coderabbitai Bot commented Oct 14, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 856605cc-e1fe-454f-8f5e-cc02bd1577f9
📥 Commits

Reviewing files that changed from the base of the PR and between 21779af and 8f53522.

📒 Files selected for processing: 2
  • src/Client.zig
  • src/Protocol.zig
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@lalinsky
lalinsky merged commit bdae0a5 into main Oct 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant