6.0.0-RC7
6/22/26

[#7466] NLS.php gethostbyaddr timeout causes "hang"
Summary NLS.php gethostbyaddr timeout causes "hang"
Queue Horde Base
Queue Version 3.3
Type Enhancement
State Duplicate
Priority 1. Low
Owners
Requester matthew.dunham (at) gmail (dot) com
Created 10/9/08 (6465 days ago)
Due
Updated 10/10/08 (6464 days ago)
Assigned
Resolved 10/10/08 (6464 days ago)
Milestone
Patch No

History
172 Chuck Hagenbuch Comment #2
State ⇒ Duplicate
Reply to this comment
Duplicate of #7374
5810 matthew (dot) dunham (at) gmail (dot) com Comment #1
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ NLS.php gethostbyaddr timeout causes "hang"
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ No
Reply to this comment
The lack of timeout on gethostbyaddr can result in what looks like a 
hung process (to the end user) when it can't quickly resolve an IP. 
This is an issue in IMP message.php via generateFlagImageByHost and 
may be problematic elsewhere.



I've spliced into my install the contributed gethostbyaddr_timeout 
function here:



    http://us.php.net/gethostbyaddr



and might recommend that you do the same.

Saved Queries