std.socket - problems closing socket

simendsjo simendsjo at gmail.com
Fri Sep 30 16:26:35 PDT 2011


Not sure if this is a problem with std.socket, nginx or my knowledge of 
sockets. I'm pretty sure it's the last one.

I'm experimenting with fastcgi on nginx, and the socket stays in 
TIME_WAIT even after I call
   socket.shutdown(SocketShutdown.BOTH);
   socket.close();

(Crossposted from SO: 
http://stackoverflow.com/questions/7616601/nginx-fastcgi-and-open-sockets)


More information about the Digitalmars-d-learn mailing list