Skip to content
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

Flask stops responding to requests after 'max-age' timeout exceeded #5

Open
aleksandr-vin opened this issue Jun 25, 2015 · 1 comment

Comments

@aleksandr-vin
Copy link

If you set max-age in response, then flask server unexpectedly stops responding after that timeout.

You can grab this commit aleksandr-vin/turnt-octo-sansa@c6453b5 and run docker-compose up and then try to curl -v http://localhost:5000/ periodically in a loop to find that it stops responding after 40 seconds.

@aleksandr-vin
Copy link
Author

Here is the bash snippet: x=0; while true; do echo $x; curl -sv http://localhost:5000/ ; sleep 10; x=$((x+10)); echo "" ; done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant