mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
A round-robin combo serving a streaming response returned a 500 (TypeError: ReadableStream is locked). validateResponseQuality() peeks streaming bodies via getReader(), which locks result.body and returns an unlocked replay in quality.clonedResponse. The priority strategy already returns `quality.clonedResponse ?? result`, but the round-robin success path returned the locked original. This mirrors the priority strategy so the body pipes downstream. Added a regression test (#3811) that fails (body locked) without the fix. Integrated into release/v3.8.25. Co-authored-by: diegosouzapw <diegosouza.pw@gmail.com>