You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by 许长法 <zh...@alibaba-inc.com> on 2015/11/23 01:46:29 UTC

apr_sockaddr_info_get is blocked if network is very poor

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!