Incorrect parameter used for streaming response compression.
- Dominant language
- Rust
- Stars
- 296
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
issue1:
Incorrect parameter used for streaming response compression.
root cause:
For `bidi_streaming` and `server_streaming`, the compression setting from the request side is passed to `encode_server`, whereas the header specifies `accept_encoding`.
issue2:
Infinite failover retries
root cause:
Err(_) => Some(future::ready(self.clone())),
Unlimited retries for any error, with no upper limit and no error categorization.
Contributor guide
Research direction
Trace the bidi_streaming and server_streaming paths to encode_server and compare the compression setting with the accept_encoding header. Then inspect the failover branch containing `Err(_) => Some(future::ready(self.clone()))` and determine the intended retry limit and error handling. Done means both compression selection and retry behavior are covered by tests, with no unbounded retries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100