It seems our software has problems with handling reset connections. How I can emulate connection reset开发者_Go百科 to debug this case?
For manual testing, check out TCPView. This tool allows you to right click any TCP connection and close it; the end result should be the same as if the connection is reset by (say) your not-so-ethical ISP trying to interfere with your traffic.
There is a free tool at http://TMUrgent.com/Tools.aspx that allows you to mess up your wan connection and even drop random packets. Look for TMNetSim
Maybe by disabling/enabling the NIC. With netsh you can write some bat.
精彩评论