Skip to content
Snippets Groups Projects
Unverified Commit fefff9ec authored by Josh Story's avatar Josh Story Committed by GitHub
Browse files

(cherrypick) [Flight Reply] Reject any new Chunks not yet discovered at the...

(cherrypick) [Flight Reply] Reject any new Chunks not yet discovered at the time of reportGlobalError (#31840) (#31845)

We might have already resolved models that are not pending and so are
not rejected by aborting the stream. When those later get parsed they
might discover new chunks which end up as pending. These should be
errored since they will never be able to resolve later.

This avoids infinitely hanging the stream.

This same fix needs to be ported to ReactFlightClient that has the same
issue.

Co-authored-by: default avatarSebastian Markbåge <sebastian@calyptus.eu>
parent 372ec00c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment