From a454a57ff9570db4fa2058a8ab0468ed13cc4f87 Mon Sep 17 00:00:00 2001 From: Para Dox Date: Sun, 1 Jun 2025 21:32:56 +0700 Subject: [PATCH] no more streaming --- split-proxy/proxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/split-proxy/proxy.js b/split-proxy/proxy.js index ed583d11..107928a4 100644 --- a/split-proxy/proxy.js +++ b/split-proxy/proxy.js @@ -397,7 +397,7 @@ class RPCProxy { const chunks = []; // Check if we should buffer the response (for clients that don't handle streaming well) - const shouldBuffer = req.headers['user-agent'] && req.headers['user-agent'].includes('ReactorNetty'); + const shouldBuffer = res.req.headers['user-agent'] && res.req.headers['user-agent'].includes('ReactorNetty'); response.data.on('data', (chunk) => { // Always capture raw chunks for comparison