6.0.0-beta1
7/29/25

[#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/09/2008 (6137 days ago)
Due
Updated 10/10/2008 (6136 days ago)
Assigned
Resolved 10/10/2008 (6136 days ago)
Milestone
Patch No

History
10/10/2008 02:00:17 AM Chuck Hagenbuch Comment #2
State ⇒ Duplicate
Reply to this comment
Duplicate of #7374
10/09/2008 10:21:58 PM 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