apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "许长法" <zhangfa....@alibaba-inc.com>
Subject apr_sockaddr_info_get is blocked if network is very poor
Date Mon, 23 Nov 2015 00:46:29 GMT
Dear apr dev team,

       I am now using apr to setup a tcp client. When the network is very pool, calling apr_sockaddr_info_get
will block about 40s and returns fail.
       I want to know if there is a non-block apr_sockaddr_info_get or there is a timeout
option to set ?

       Looking forward to your reply. 

Best Regards!

View raw message