cloudflare / cloudflare/quiche

FINISHED vs RESET

Open
#2,277 10 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
11.8k
Forks
1.1k
Avg merge
3d 7h
Merged PRs (30d)
16

Description

In `curl` we have test cases against an `nghttpx` server that resets stream responses after the first 16k of DATA. This works reliably with curl using `ngtcp2`. Using `quiche` as the backend, we sometimes see `FINISHED` events instead of a `RESET` and assume wrongly that the transfer was complete.

Is there anything we might have missed in our quiche usage here? Or is this a bug in quiche's RESET handling? Thanks for the help.

Tested with quiche 0.24.4

Contributor guide

Open the contributing guide

Research direction

Start with curl's test cases against the nghttpx server and reproduce the behavior using quiche 0.24.4 as the backend. Compare when FINISHED and RESET events are emitted after the first 16k of DATA, then determine whether the result comes from quiche usage or RESET handling; done when the cause is established and the behavior is corrected or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.