mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
Merge branch '7.0.x'
This commit is contained in:
+2
@@ -116,6 +116,8 @@ final class DefaultAsyncServerResponse extends ErrorHandlingServerResponse imple
|
||||
|
||||
WebAsyncManager asyncManager = WebAsyncUtils.getAsyncManager(request);
|
||||
AsyncWebRequest asyncWebRequest = asyncManager.getAsyncWebRequest();
|
||||
// defensive check as asyncWebRequest should not be null,
|
||||
// should have been set already in HandlerFunctionAdapter#getWebAsyncManager
|
||||
if (asyncWebRequest == null) {
|
||||
asyncWebRequest = WebAsyncUtils.createAsyncWebRequest(request, response);
|
||||
asyncManager.setAsyncWebRequest(asyncWebRequest);
|
||||
|
||||
Reference in New Issue
Block a user