Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified response.stream to close the stream after consuming it
this is vital when using file-based streams (i.e. created with `fs.open ()`).
- Loading branch information
21cacc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx, since there is no auto-close after a forEach call in the JSGI connector.
21cacc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs also a change in the test, which relies on a stream object as response.body. See #368
21cacc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, of course! i'll adapt the test.
21cacc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merci!