Iteratees that throw exceptions aren't handled properly #83

bos opened this Issue Jul 17, 2011 · 2 comments

2 participants


I've a simple web app that expects JSON POSTs, where if a client sends an invalid JSON document, the server hangs for 30 seconds before closing the connection without sending anything.


Since github's issue tracker doesn't allow attachments, here's a repro:

This example gets a sensible response (HTTP 400) from the server:

curl -v -d '}' -H 'Content-Type: application/json' http://localhost:8000/

This one should get a HTTP 400, but instead the server sends nothing, gets stuck and closes the connection after 30 seconds:

curl -v -d '{' -H 'Content-Type: application/json' http://localhost:8000/
Snap Framework member

This bug should be fixed as of 0.5.2, please re-open if not!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment