Skip to content

Avoid duplicate flushes in StringHttpMessageConverter #36065

@bclozel

Description

@bclozel

While considering #35427, I noticed that the StringHttpMessageConverter is calling OutputStream#flush() via StreamUtils#copy.

This flushing operation is already performed by AbstractHttpMessageConverter and is being reconsidered altogether in #35427, so we should get rid of this call.

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