pjfanning opened a new pull request, #1142:
URL: https://github.com/apache/pekko-http/pull/1142

   more changes related to #1133
   
   - DeflateCompressor: add deflaterEnded flag + idempotent endDeflater() 
method; call endDeflater() in finishWithBuffer() instead of deflater.end() 
directly
   - GzipDecompressor: add postStop() calling inflater.end() + add 
createInflater() factory method for testability
   - StreamUtils.byteStringTransformer: add optional cleanup callback, call it 
in postStop() when the stage is stopped before onUpstreamFinish()
   - Encoder.singleUseEncoderFlow: pass cleanup callback that calls 
endDeflater() on DeflateCompressor instances to handle stream 
cancellation/failure
   - DeflateSpec: add tests for deflater cleanup on normal finish and 
cancellation
   - GzipSpec: add tests for inflater cleanup on normal finish and 
cancellation, and deflater cleanup on normal finish and cancellation


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to