Http curl命令行,关闭时延迟
使用下面的curl命令行Http curl命令行,关闭时延迟,http,curl,Http,Curl,使用下面的curl命令行 curl -i -L --silent -k "https://news.ycombinator.com" --no-keepalive -H 'Connection: close" --user-agent "NokiaN73-1/4.0736.3.2.1 Series60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1" --cookie "cookie.news.ycombinator.com.txt" --cookie-j
curl -i -L --silent -k "https://news.ycombinator.com" --no-keepalive -H 'Connection: close" --user-agent "NokiaN73-1/4.0736.3.2.1 Series60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1" --cookie "cookie.news.ycombinator.com.txt" --cookie-jar "cookie.news.ycombinator.com.txt"
一切正常,但在接收最后一行数据之间存在延迟
html(html关闭标记)和curl成功退出
显然有一些延迟,正在等待连接关闭,但不需要,
文件已完全成功地传输
如何减少或消除此延迟似乎这可能是服务器问题,它没有快速关闭连接。不,不是,因为使用firefox连接到同一url时,它会立即关闭。firefox的缓存可能会改变某些东西!?我正在寻找一个curl命令行选项来设置等待时间,恐怕这是在服务器端,而不是客户端。。。