meinheld
meinheld copied to clipboard
check error in wsgi_to_bytes
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.
@mopemope