We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The response extension is causing web requests not to be closed on large body content
get "/" do "a"*9000 + "!" end
Expected behavior: [What you expect to happen]
The exclamation mark should be return using curl http://localhost:8080
Actual behavior: [What actually happens]
The exclamation mark is not returned using curl http://localhost:8080 and the connection stays open
Reproduces how often: [What percentage of the time does it reproduce?]
always
crystal 0.35.1
This file causes the issue as it overwrites the close method, but it doenst flush the IO as is down in the original implemenation. https://github.com/kemalcr/kemal/blob/master/src/kemal/ext/response.cr
The text was updated successfully, but these errors were encountered:
Duplicate #575
Sorry, something went wrong.
No branches or pull requests
Description
The response extension is causing web requests not to be closed on large body content
Steps to Reproduce
get "/" do
"a"*9000 + "!"
end
Expected behavior: [What you expect to happen]
The exclamation mark should be return using curl http://localhost:8080
Actual behavior: [What actually happens]
The exclamation mark is not returned using curl http://localhost:8080 and the connection stays open
Reproduces how often: [What percentage of the time does it reproduce?]
always
Versions
crystal 0.35.1
Additional Information
This file causes the issue as it overwrites the close method, but it doenst flush the IO as is down in the original implemenation.
https://github.com/kemalcr/kemal/blob/master/src/kemal/ext/response.cr
The text was updated successfully, but these errors were encountered: