itgo

Results 2 comments of itgo

鸟哥你好,我也遇到了 @czk2012 遇到的问题,使用域名的时候会出现 can not get fd from curl instance 的错误,使用 ip 的时候就能够正常使用,请问能解析下个中原因吗?

@laruence 系统是ubuntu 15.04 , libcurl 版本是 7.42.1 , 使用的时候,只要有一个是以ip访问的即可。如: Yar_Concurrent_Client::call("http://localhost:81/index.php", "api", array("parameters"), "callback"); Yar_Concurrent_Client::call("http://localhost:81/index.php", "api", array("parameters"), "callback"); Yar_Concurrent_Client::call("http://127.0.0.1:81/index.php", "api", array("parameters"), "callback"); 但如果全部用 localhost 则会报 Yar_Concurrent_Client::loop(): can not get fd from...