basho/mochiweb — pull request #2 by seancribbs (2011-11-22 14:22:49+00:00)
Title: BZ1291 HttpError packet parsing fix

On the 1.5.1-headers-fix tag/branch, mochiweb_http uses erlang:decode_packet/3 but improperly matches HttpError packets as tagged with 'error', when the parser returns them tagged with 'ok'. This pull-request adjusts the case clause to match them properly.