-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed as not planned
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid
Description
I use CustomServletServerHttpResponse to inherit ServletServerHttpResponse and customize the compression algorithm for response requests. However, I found that my close method cannot be called due to the following code Unable to clear CustomOutputStream native memory,
Lines 452 to 456 in 6d97791
| OutputStream outputStream = StreamUtils.nonClosing(outputMessage.getBody()); | |
| try (JsonGenerator generator = objectMapper.getFactory().createGenerator(outputStream, encoding)) { | |
| writePrefix(generator, object); | |
I have searched for relevant issues, but I have not found a clear solution to close my own defined OutputStream
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid