tjbush / mochiweb

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

Request breaks when using native compiled callbacks. #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Compile the attached file with +native.  When handling a request it will
get an error message saying badarg in dynomite_web:loop/2.  Compiled
without the native option it will work properly.  I think that using the
module encapsulation in mochiweb_request.erl is interacting badly with
modules compiled with the +native option.

Original issue reported on code.google.com by moonpoly...@gmail.com on 9 Apr 2009 at 6:47

Attachments:

GoogleCodeExporter commented 8 years ago
+native isn't compatible with parameterized modules in current versions of 
Erlang. I think this is expected to be 
fixed in R13B.

Original comment by bob.ippo...@gmail.com on 9 Apr 2009 at 6:50