fastwsgi icon indicating copy to clipboard operation
fastwsgi copied to clipboard

A bunch of bugs

Open jonashaag opened this issue 4 years ago • 1 comments

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.py segfault
  • tests/env.py segfault
  • tests/headers.py memory leak
  • tests/huge.py hangs forever
  • tests/hello.py hangs forever
  • tests/keep-alive-behaviour.py segfault
  • tests/not-callable.py segfault
  • tests/test_exc_info_reference.py memory leak

I've used this file to substitute the bjoern module in the tests:

# bjoern.py
from fastwsgi import run

jonashaag avatar Dec 16 '21 12:12 jonashaag

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.

jamesroberts avatar Dec 16 '21 13:12 jamesroberts

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.

jamesroberts avatar Mar 15 '23 22:03 jamesroberts