Timeout limit on readurl function?
Timeout limit on readurl function?
Anyone know if there is a timeout value in seconds for the readurl function? I'm getting seemingly random "download failed" errors in my scripts that use readurl(). Often when I try a second or third time the script works as intended. I'm on a dodgy ADSL connection in Southern Europe right now so I can't figure out if it's my code throwing a fit on just the internet here being crap.
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial
-
- Site Admin
- Posts: 60602
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Timeout limit on readurl function?
No timeout built in by me. Must be something else.
FAQ | XY News RSS | XY Twitter
Re: Timeout limit on readurl function?
What could cause the readurl() function to throw "download failed" one time but it will work on the next attempt? No response from the server perhaps?admin wrote:No timeout built in by me. Must be something else.
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial
-
- Site Admin
- Posts: 60602
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Timeout limit on readurl function?
Anything that causes an imperfect transfer of bytes could be the reason.
FAQ | XY News RSS | XY Twitter