tdlight-telegram-bot-api
tdlight-telegram-bot-api copied to clipboard
Handle lost connection to telegram servers gracefully
Currently, if telegram isn't working, requests are simply left open, stalling forever.
That's not great as that means basically DDoS potential.
To Reproduce:
- Lauch bot api
- Disconnect Wifi or whatever
- Send a request to the Bot API.
- ????
- Boom
So I think it should just return an error right away.
Just like the Internal Server Error: restart
one.
@luckydonald I don't get it
It should work with the next update, I'm closing this issue. Reopen it if the problem exists also in the next update.
Any concrete commit fixing this?
Is still not working with the current release?
No idea, didn't test yet. I was rather curious by what it could be fixed now.
Like, did a upstream merge change that, or did one of you lovely people fix it?