Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Bug Reports
 PowerHome Messageboard : PowerHome Bug Reports
Subject Topic: ph_geturl1() Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: December 29 2017 at 06:00 | IP Logged Quote smarty

This may have been reported before. Maybe it has been fixed, but not yet released (I am running 2.1.5d)....

The ph_geturl1() function does not time out properly.

When pointing it at a sight that is offline (like when my internet goes out), it seems to ignore whatever timeout your give it and times out at about 10 seconds.

ph_geturl1("website that resolves but is unavailable",0,3). <= should timeout at 3 seconds.

I was mostly looking at option "0" (similar to ph_geturl()...). However, my early tests show it hangs for 10 seconds with all options (0,1, and 2).

__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum