Timeout limit on readurl function?

Things you’d like to miss in the future...
Post Reply
40k
Posts: 234
Joined: 09 Dec 2011 21:25

Timeout limit on readurl function?

Post by 40k »

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

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Timeout limit on readurl function?

Post by admin »

No timeout built in by me. Must be something else.

40k
Posts: 234
Joined: 09 Dec 2011 21:25

Re: Timeout limit on readurl function?

Post by 40k »

admin wrote:No timeout built in by me. Must be something else.
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?
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

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Timeout limit on readurl function?

Post by admin »

Anything that causes an imperfect transfer of bytes could be the reason.

Post Reply