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

Slow HTTP response can block the title printing/shortening #10

Open
tilpner opened this issue Apr 18, 2017 · 1 comment
Open

Slow HTTP response can block the title printing/shortening #10

tilpner opened this issue Apr 18, 2017 · 1 comment

Comments

@tilpner
Copy link
Contributor

tilpner commented Apr 18, 2017

These lines don't pass the timeout options specified by http. request:go and stream:get_body_chars should receive a configurable timeout to abort quickly on slow servers

@tilpner
Copy link
Contributor Author

tilpner commented Apr 18, 2017

Posting https://irc-bot-science.clsr.net/wait/3/len/4/msg/dGVzdA== (takes 36s with curl here) should abort and display an appropriate error message, instead of blocking all link shortening for 36 seconds

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