spring-framework/spring-webflux
Brian Clozel 13f23dc32b Mark response as complete before WebSocket upgrade
Prior to this commit, some WebSocket `RequestUpgradeStrategy` reactive
implementations would prevent the application from writing HTTP headers
and cookies to the response.

For Reactor Netty and Undertow, handling the upgrade and starting the
WebSocket communication marks the response status and headers as sent
and the application cannot update HTTP response headers after that.

This commit ensures that the `RequestUpgradeStrategy` implementations
mark the responses as "complete", so that headers are written before we
delegate to the server implementation.

Fixes gh-24475
2020-02-13 21:42:31 +01:00
..
src Mark response as complete before WebSocket upgrade 2020-02-13 21:42:31 +01:00
spring-webflux.gradle Move JavaUtilLoggingConfigurer to spring-core test fixtures 2020-01-03 14:34:29 +01:00