[ 
https://issues.apache.org/jira/browse/AXISCPP-1069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

nadir amra closed AXISCPP-1069.
-------------------------------

    Resolution: Fixed

Fixed under revision http://svn.apache.org/viewvc?view=revision&revision=940916

> Use inet_addr first if hostname begins with number to avoid gethostbyname 
> timeout
> ---------------------------------------------------------------------------------
>
>                 Key: AXISCPP-1069
>                 URL: https://issues.apache.org/jira/browse/AXISCPP-1069
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: Transport (axis3)
>            Reporter: nadir amra
>            Assignee: nadir amra
>             Fix For: current (nightly)
>
>
> We currently first to gethostbyname() and if that fails, we assume it is 
> dotted decimal an use inet_addr.  Sometime gethostbyname() may take a long 
> time (minutes) to return when host is in dotted decimal format. 
> Since hostnames must begin with a character (RFC1035), I have changed the 
> code to see if the first character is a number, and if it is, we now first 
> will use inet_addr(), and if that fails, then we use gethostbyname(). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to