摘要:
一:设置keepalive_timeout 0;发curl:[xxx ~]$ curl -H "Keep-Alive: 60" -H "Connection: keep-alive" '10.195.100.22:015/a.php'tcpdump:[xxx~]# tcpdump -i eth1 -... 阅读全文
摘要:
一:设置keepalive_timeout 0;发curl:[xxx ~]$ curl -H "Keep-Alive: 60" -H "Connection: keep-alive" '10.195.100.22:015/a.php'tcpdump:[xxx~]# tcpdump -i eth1 -... 阅读全文
摘要:
通信双方建立TCP连接后,主动关闭连接的一方就会进入TIME_WAIT状态TIME_WAIT状态的时间是2倍的MSL(最大生存时间),在TIME_WAIT状态TCP连接实际上已经断掉,但是该插口又不能被新的连接实例使用。这种情况一般都是程序中建立了大量的短连接。那么http 服务是谁主动关闭连接呢?... 阅读全文
摘要:
参考:http://huoding.com/2013/12/31/316http://www.cnblogs.com/sunxucool/p/3449068.htmlhttp://maoyidao.iteye.com/blog/1744277 阅读全文
摘要:
监测端口是否存在nc -z 127.0.0.1 9100扫描端口nc -z -v 127.0.0.1 8000 9999发送httpnc www.baidu.com 80GET / HTTP/1.1Host:www.baidu.com 阅读全文
|