Log bad/invalid app responses as 500 errors
commit4cae518fd0b2ba81114ed4cc26eb1704a1f71e28
authorEric Wong <normalperson@yhbt.net>
Sat, 29 Aug 2009 20:39:58 +0000 (29 13:39 -0700)
committerEric Wong <normalperson@yhbt.net>
Sat, 29 Aug 2009 20:40:05 +0000 (29 13:40 -0700)
treebacdbf5c3d8dffbeb81db74651742e42e3519618
parentc03045ecde0f3270d7458ba7ac0d76a25afc6fb2
Log bad/invalid app responses as 500 errors

Some misbehaved apps can do this to us, and we don't want
the C extension to segfault when this happens.
ext/clogger_ext/clogger.c
lib/clogger/pure.rb
test/test_clogger.rb