I've come up with an (almost) working SUSPENDED test case: https://gist.github.com/ArtemGr/9870554 It works in browser and with "curl -v http://127.0.0.1/sustest", at least for some time.
Apache version is 2.4.7 (Debian Jessie). Problem is, when I test it with ab (ab -n 999 -c 9 http://127.0.0.1/sustest) it just sits there and then tells me "apr_pollset_poll: The timeout specified has expired (70007)". I suspect the connections aren't properly released but I don't really know. Please help me understand what's wrong with the test case. Am I doing something wrong or is it a bug in Apache?