(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:
Sebastian Markbåge <sebastian@calyptus.eu>
Showing
Please register or sign in to comment