Skip to content

bpo-40094: CGIHTTPRequestHandler logs exit code #19285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 2, 2020
Merged

bpo-40094: CGIHTTPRequestHandler logs exit code #19285

merged 1 commit into from
Apr 2, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Apr 1, 2020

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."

https://bugs.python.org/issue40094

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."
@vstinner
Copy link
Member Author

vstinner commented Apr 2, 2020

PR rebased to retrieve the fix for Azure Pipelines.

@vstinner vstinner merged commit 9a679a0 into python:master Apr 2, 2020
@vstinner vstinner deleted the run_cgi branch April 2, 2020 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants