Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
HTTP GET from Chrome with WebFlux Rest Controller never completes [SPR-17506] #22038
When returning Mono.empty() from an
When Chrome is used to make the GET requests the first request is handled on reactor-http-nio-2 thread and seems to be handled correct.
The behavior is repeatable, failing exactly 50% of requests (the second request on the same reactor thread).
tested using Windows 10 / Chrome 70.0.3538.102
Note that the TRACE logging actually shows the same logging for both the properly handled and the failing requests as if completed succesfully.
Furthermore all requests that seem to be handled by the same tcp/ip connection and reactor-thread also use the same log prefix for which I'll make a separate ticket.
Rossen Stoyanchev commented
#21753 addressed a similar issue but for a client-side POST with an empty body. At the same time that solution does not work for the case here. For some reason, on an HTTP GET, writing
That said, using