Skip to content

ShallowEtagHeaderFilter should make use of specified content length [SPR-8271] #12919

@spring-projects-issues

Description

@spring-projects-issues

Oliver Siegmar opened SPR-8271 and commented

The current ShallowEtagHeaderFilter implementation does not make any use of the content-length set by the content generating code. The attached patch re-initializes the ByteArrayOutputStream with the specified content-length. This improves performance on very busy sites with rather big files.


Affects: 3.0.5

Attachments:

Issue Links:

Referenced from: commits ae012ae

2 votes, 4 watchers

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions