On Jun 25, 9:13 pm, Vagif Verdi <
vagif.ve...@gmail.com> wrote:
> So my question is, does compojure close those input streams ? Or could
> it be a resource leak ?
It closes the body input stream when it's finished with it:
(instance? InputStream body)
(with-open [out (.getOutputStream response)]
(IOUtils/copy body out)
(.close body)
(.flush out))
- James