meinheld icon indicating copy to clipboard operation
meinheld copied to clipboard

check error in wsgi_to_bytes

Open aisk opened this issue 3 years ago • 1 comments

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 avatar May 08 '21 08:05 aisk

@mopemope

aisk avatar May 27 '21 04:05 aisk