如下 设置的连接超时15s,但感觉5s就返回了啊。 + ./curlget --web_url=www.bookzong.com --curl_timeout=160 --enable_debug=true will get web_url www.bookzong.com LM_INFOR20131129 12:08:07[CURLWrapper] web_url www.bookzong.com LM_INFOR20131129 12:08:07[CURLWrapper] web_url www.bookzong.com * About to connect() to www.bookzong.com port 80 * Connection time-out * Closing connection #0 curl error Connection time-out -- [m[1;37m※ 来源:·水木社区 newsmth.net·[FROM: 202.106.180.*][m
CNUsenet