Response is no longer piped from backend, instead response is read in based on content length.
This is a fix but it doesn't keep the connection alive. The connection still closes after each request so if the browser wants to keep the connection alive for multiple requests, this isn't doing that. However, this fixes the annoying issue where the response Is stalled because the pipe wait until it times out when the connection is kept alive.
Response is no longer piped from backend, instead response is read in based on content length.
This is a fix but it doesn't keep the connection alive. The connection still closes after each request so if the browser wants to keep the connection alive for multiple requests, this isn't doing that. However, this fixes the annoying issue where the response Is stalled because the pipe wait until it times out when the connection is kept alive.