]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40094: CGIHTTPRequestHandler logs exit code (GH-19285)
authorVictor Stinner <vstinner@python.org>
Thu, 2 Apr 2020 01:42:05 +0000 (03:42 +0200)
committerGitHub <noreply@github.com>
Thu, 2 Apr 2020 01:42:05 +0000 (03:42 +0200)
commit9a679a0e47d58aa73b7747d4e16140048c10baf5
tree9b858a70736362f4d83ae20b0b94a4f2acd1af7b
parente27916b1fc0364e3627438df48550c16f0b80b82
bpo-40094: CGIHTTPRequestHandler logs exit code (GH-19285)

CGIHTTPRequestHandler of http.server now logs the CGI script exit
code, rather than the CGI script exit status of os.waitpid().

For example, if the script is killed by signal 11, it now logs:
"CGI script exit code -11."
Lib/http/server.py
Misc/NEWS.d/next/Library/2020-04-02-01-13-28.bpo-40094.AeZ34K.rst [new file with mode: 0644]