Closed spring-projects-issues closed 9 years ago
Konrad Garus commented
It may be related to Spring Boot, see also https://github.com/spring-projects/spring-boot/issues/4021.
Rossen Stoyanchev commented
Between the improvement planned for #18076, the Tomcat bug, and the suggested Boot improvement I think we are covered.
Konrad Garus opened SPR-13497 and commented
Whenever Tomcat async request times out, an error appears in the log and unexpected JSON message is emitted in response. For example, it happens with embedded Tomcat that arrives with Boot, where asyncTimeout appears to be 30 seconds.
To reproduce, create a Spring Boot app with embedded Tomcat. Just spring-boot-starter-web, version 1.3.0.M5. Let the main class look like:
Run the app.
Get the event stream, and observe:
Note the JSON at the very bottom.
In addition, when it happens the server log prints:
Affects: 4.2.1
Issue Links:
18076 SseEmitter should ignore calls to send after timeout