This reproducer is a single file: Spring Boot 4.0.9, Spring Cloud 2025.1.4, spring-cloud-gateway-server-webmvc 5.0.4, Tomcat 11.0.27.
git clone https://gist.github.com/8bb7604a03b63598d0946a6a05dcd9f2.git scg-upstream-abort && cd scg-upstream-abort
mvn test # JDK 21+
UpstreamAbortTest starts the gateway with a single route, route("sse").POST("/sse", http()).before(uri(upstream)), and a raw-socket upstream that: