joshua655 / v8cgi

Automatically exported from code.google.com/p/v8cgi
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

v8cgi in mod_fastcgi doesn't exit, needs close() #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. do a simple fcgi program, request it via apache+mod_fastcgi
2. There is now a v8cgi process running.
3. stop apache
4. The v8cgi process is still running and you can't kill it until you use 
kill -9

What is the expected output? What do you see instead?
v8cgi should exit

What version of the product are you using? On what operating system?
v8cgi SVN revision 805, ubuntu 9.1, x64

Please provide any additional information below.
I added these lines to the handle_sig... functions to get it to exit 
properly...
close(0);
close(1);
close(2);

Original issue reported on code.google.com by nik...@gmail.com on 24 May 2010 at 2:58

GoogleCodeExporter commented 9 years ago

Original comment by ondrej.zara on 25 May 2010 at 5:36

GoogleCodeExporter commented 9 years ago
Commited in r806 - one exit(0) should be enough. Please confirm that this fix 
works
for you...

Original comment by ondrej.zara on 25 May 2010 at 5:53