-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When you call SP_IocpServer::shutdown the clients don't receive FIN or RST
packets. Therefore the connection remains open at the clients' end eventhough
the server does not accept incoming packets anymore. You should see a FIN or
RST packet sent to clients so that they can close the connections properly.
To reproduce:
1. Call SP_IocpServer::shutdown
2. Look at network log (from Wireshark, for example) and note that no FIN or
RST packets were returned to clients.
I'm using version 0.95 of spserver. My operating system is Windows 7. My build
environment is MinGW's gcc toolchain. I had to make a custom makefile for the
project for MinGW. I can see from the debugger that closesocket (sp_close
macro) is called when shutdown is called, but it doesn't result in FIN or RST
packet. So this may actually be a problem in Windows itself (?).
Does this occur with other build environments?
Original issue reported on code.google.com by mmikk...@gmail.com on 15 Jun 2011 at 1:35
Reactions are currently unavailable