3 ms·
why not run valgrind on the web server and wait until it crashes on your POST request and then inspect the logs
by jijji 2y ago
why not run valgrind on the web server and wait until it crashes on your POST request and then inspect the logs
- guappa 2y agoA decent server wouldn't crash if a cgi binary crashes.
- spc476 2y agoOne, CGI scripts are run as a separate process, so running valgrind on the web server won't get status about the CGI program. Two, it would probably generate a ton of output not related to the CGI program even if it did work. Three, the CGI program wasn't crashing, it was to check for memory errors.