Skip to content

Consistently avoid close() call on Servlet OutputStream [SPR-11413] #16040

@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-11413 and commented

Next to MarshallingView (#16038), ResourceHttpRequestHandler and ShallowEtagHeaderFilter should not delegate to FileCopyUtils (which calls close() on the OutputStream) but rather to StreamUtils, leaving a chance for outer filters to add to the response still.


Affects: 3.2.7, 4.0.1

Issue Links:

Referenced from: commits 85e336e, 5f1592a

Backported to: 3.2.8

Metadata

Metadata

Assignees

Labels

status: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions