call[fs]cgi: Ensure less delay in closing stdin when shutting down.
[ashd.git] / src / callfcgi.c
index 27c9c5e..9af5929 100644 (file)
@@ -806,6 +806,7 @@ static void sigign(int sig)
 
 static void sigexit(int sig)
 {
+    shutdown(0, SHUT_RDWR);
     exit(0);
 }