Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Catch sendfile failure from no file descriptor
If the filelike response object has no `fileno` attribute, then skip trying to use sendfile rather than failing with an error. Close #1160
- Loading branch information
98c9e3b
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 is wrong. See #1174.