-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Open
Labels
status: waiting-for-triageAn issue we've not yet triaged or decided onAn issue we've not yet triaged or decided on
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
status: waiting-for-triageAn issue we've not yet triaged or decided onAn issue we've not yet triaged or decided on