Your patch is trivial enough, I am OK to integrate it as is, but it would be nice to verify that we are not reintroducing this bug in the future.
I know that writing a the test will be far more difficult that writing the patch. You can try :).
Anyway I am OK to integrate current patch as is. Looks simple enough.
The comment in "run()" is a bit scary, and we could call "self.close()" twice, with this patch, or call extra code after "self.close()" is called. I don't know it that would be an issue, I am not familiarized enough with WSGI. |