[Tickets #7466] NLS.php gethostbyaddr timeout causes "hang"

bugs at horde.org bugs at horde.org
Thu Oct 9 22:21:59 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7466
------------------------------------------------------------------------------
  Ticket             | 7466
  Created By         | matthew.dunham at gmail.com
  Summary            | NLS.php gethostbyaddr timeout causes "hang"
  Queue              | Horde Base
  Version            | 3.3
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


matthew.dunham at gmail.com (2008-10-09 18:21) wrote:

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.





More information about the bugs mailing list