I post here the solution to my problem for future reference. In kindle it is easy: in the file koreader/frontend/socketutil.lua increase the timeout in 2 lines:
socketutil.LARGE_BLOCK_TIMEOUT = 30
socketutil.LARGE_TOTAL_TIMEOUT = 90
(or more, depending on your needs)
In android however this file is not accesible, the patch does not seem to work and unzipping the *.apk file to change the timeout does not work; after zipping it again it refuses to be installed. No luck.
Thanks to @hius07, your help is much appreciated.
|