What does happen with Apache (or Nginx) running a CGI script when the client (I mean a browser or a TCP gateway) disconnects in the middle?
Does Apache/Nginx log an error? (If yes, which one and where?)
Is the CGI script sent SIGPIPE to?
What does happen with Apache (or Nginx) running a CGI script when the client (I mean a browser or a TCP gateway) disconnects in the middle?
Does Apache/Nginx log an error? (If yes, which one and where?)
Is the CGI script sent SIGPIPE to?
Copyright © 2021 Jogjafile Inc.
There is no SIGPIPE when Apache CGI script is interrupted.
Tested with the following code: