Skip to content

check error in wsgi_to_bytes#126

Open
aisk wants to merge 1 commit intomopemope:masterfrom
aisk:master
Open

check error in wsgi_to_bytes#126
aisk wants to merge 1 commit intomopemope:masterfrom
aisk:master

Conversation

@aisk
Copy link
Copy Markdown

@aisk aisk commented May 8, 2021

We don't check the error which may raised in wsgi_to_bytes, and so if we are using invalid type in response header, like using unicode in python2, since the value of wsgi_to_bytes is NULL and we're using it, the worker process will be crashed. This PR fixed this.

@aisk
Copy link
Copy Markdown
Author

aisk commented May 27, 2021

@mopemope

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.

1 participant