判断HTTP服务器端是否开启Keepalive
2020-01-14 本文已影响0人
星城天空
curl -v https://www.baidu.com --next https://www.baidu.com
返回中出现:Re-using existing connection!(#0) with host 127.0.0.1,支持Keepalive
返回中出现:Connection 0 seems to be dead!,不支持
curl -v https://www.baidu.com --next https://www.baidu.com
返回中出现:Re-using existing connection!(#0) with host 127.0.0.1,支持Keepalive
返回中出现:Connection 0 seems to be dead!,不支持