-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug
Milestone
Description
Roberto Franchini opened SPR-11411 and commented
The method renderMergedOutputModel should not close the HttpServletResponse output stream.
The called utility method
FileCopyUtils.copy(bos.toByteArray(), response.getOutputStream());
closes the stream avoiding other output filters adding more informations.
Use streamUtils instead
For example, if the view is invoked by a url under security, the session id cookie isn't sent back to the client.
Affects: 3.1.2, 4.0.1
Issue Links:
- Consistently avoid close() call on Servlet OutputStream [SPR-11413] #16040 Consistently avoid close() call on Servlet OutputStream
- MarshallingView should avoid temporary byte array when copying to response [SPR-11646] #16269 MarshallingView should avoid temporary byte array when copying to response
Referenced from: commits 648245b, b223e6e
Backported to: 3.2.8
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug