quiche
quiche copied to clipboard
Send first-flight transport closes after post-auth errors
Summary
- keep first-flight post-auth transport errors sendable instead of immediately marking the connection closed when
recv_countis still zero - prefer an Initial
CONNECTION_CLOSEonly for authenticated first-flight errors while Initial keys are still available - extend
missing_initial_source_connection_idto verify the server emits an Initial close that the client processes asTRANSPORT_PARAMETER_ERROR
Fixes #2515.
Validation
git diff --checkcargo test -p quiche missing_initial_source_connection_id -- --nocapturecargo test -p quiche invalid_initial -- --nocapturecargo test -p quiche local_error -- --nocapturecargo test -p quiche close -- --nocaptureRUSTFLAGS="-D warnings" cargo test -p quiche --all-targetsRUSTFLAGS="-D warnings" cargo clippy -p quiche --all-targets -- -D warningsRUSTFLAGS="-D warnings" cargo test --all-targets --features=async,ffi,qlog --workspaceRUSTFLAGS="-D warnings" cargo clippy --features=async,ffi,qlog --workspace -- -D warnings