Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A bunch of bugs #4

Closed
jonashaag opened this issue Dec 16, 2021 · 2 comments
Closed

A bunch of bugs #4

jonashaag opened this issue Dec 16, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@jonashaag
Copy link

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
@jamesroberts
Copy link
Owner

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 jamesroberts added the bug Something isn't working label Dec 16, 2021
@jamesroberts
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants