fastwsgi
fastwsgi copied to clipboard
A bunch of bugs
Hi @jamesroberts!
I've run fastwsgi against some of the bjoern test cases that have accumulated over the years. From a very quick check, here are my results:
tests/empty.pysegfaulttests/env.pysegfaulttests/headers.pymemory leaktests/huge.pyhangs forevertests/hello.pyhangs forevertests/keep-alive-behaviour.pysegfaulttests/not-callable.pysegfaulttests/test_exc_info_reference.pymemory leak
I've used this file to substitute the bjoern module in the tests:
# bjoern.py
from fastwsgi import run
This is great! Thanks for this! I definitely need to do a lot more tests for edge cases and handle error cases. This will help a lot.
The changes over the past year have solved all the listed bugs. Thanks for providing some great test cases! FastWSGI 0.0.8 should be much more stable.