-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to safety close file stream #407
Comments
i saw the code in file
this then call be stream read end, if exception has occur, the call not be execute. and i search on google, find the HttpResonse has a done method, this method has called by any case; so , can expose the httpResonse.done method? |
@MisterChangRay – ooo...this might be a bug, honestly! |
can fixed the bug in next version? |
i need too, tk |
I think #399 is same issue. |
i wanna write a file download server.
as Response code as following
as u see, i send file as stream for return;
but, i has a proplem, on browser download large file , if user cancel download process, the file has never be closed!
so, how to get the socket error for close the file stream?
The text was updated successfully, but these errors were encountered: