extend/cowboy — pull request #117 by talentdeficit (2011-12-27 23:24:15+00:00)
Title: return 500 error response on handler crash if handler has yet to write data to socket

alternate solution to: https://github.com/extend/cowboy/pull/114

this pull request could use a test. i've tested manually over localhost and en1 with keepalive on and i think i've confirmed inet:getstat(Client, [send_oct]) does not increment on keepalive packets, but i'd feel better if there were a test in the test suite. however, i need some guidance on how best to write the test.