perwendel / spark

A simple expressive web framework for java. Spark has a kotlin DSL https://github.com/perwendel/spark-kotlin
Apache License 2.0
9.63k stars 1.56k forks source link

Ensure InputStreamSerializer closes its streams #1121

Closed ThatJoeMoore closed 3 years ago

ThatJoeMoore commented 5 years ago

Alternative version of #978 , incorporating the feedback in that PR.

This makes the InputStreamSerializer responsible for closing the streams it is passed. Also includes a couple of simple tests.

perwendel commented 3 years ago

:+1: Thanks for contributing!

ThatJoeMoore commented 3 years ago

Thanks for merging! I'm excited to see this roll out!