jetti777Ltd / mochiweb

Automatically exported from code.google.com/p/mochiweb
Other
0 stars 0 forks source link

{ok, {http_error, _}} for HTTP header decoding errors(?), dead code in mochijson test #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
[from Paul Guyot]

I did run dialyzer on mochiweb (it's part of our release process). While some 
errors are caused by a 
bug in dialyzer (it doesn't handle parameterized modules properly), I found out 
a test case that fails 
and that is disabled, as well as a type error in mochiweb_http.erl.

Original issue reported on code.google.com by bob.ippo...@gmail.com on 15 Jan 2009 at 7:28

Attachments:

GoogleCodeExporter commented 8 years ago
I think dialyzer has a bug because I can't find any evidence that {ok, 
{http_error, _}} is produced. I've only ever 
seen {error, {http_error, _}} but I've removed the dead code in the json test 
in r93

Original comment by bob.ippo...@gmail.com on 16 Feb 2009 at 7:23