mirror of
https://github.com/koreader/koreader
synced 2024-11-08 07:10:27 +00:00
2f9db25969
* Add a new socketutil module with a few helper functions that allow us to: * Always use a sane User-Agent (previously, only Wikipedia did so) * Set timeouts in an almost sane manner. Doing it explicitly prevents an interaction with KOSync that does crazy stuff I don't even want to try to understand. * Unified said timeouts based on the request's intended usage (except for Wikipedia, which already had meaningful timeout values). * Stopped using LuaSec directly, LuaSocket defers to LuaSec sanely on its own. Everything now transparently supports HTTPS without code duplication. |
||
---|---|---|
.. | ||
lib | ||
_meta.lua | ||
epubdownloadbackend.lua | ||
feed_config.lua | ||
internaldownloadbackend.lua | ||
luahttpdownloadbackend.lua | ||
main.lua |