Hi,
I'm having problems when uploading e.g. a large image.
Both Inets and Mochiweb is crashing somewhere...
I did some quick tracing with redbug:
18:11:59 <{mochiweb_socket_server,acceptor_loop,1}>
{mochiweb_http,headers,
[#Port<0.4910>,
{'POST',
{abs_path,"/
new"},
{1,1}},
[{'Cache-
Control',
"no-cache"},
{'Pragma',"no-
cache"},
{'Cookie',
"newcookie=k9u98oNoAmgDZAAFc3RhdGVtAAAAEKiOSstiBers7s4dZRcVCNZkAAl1bmRlZmluZWRoA2IAAAT6YgAG_j1iAABMUw"},
{'Content-
Length',
"1537"},
{'Referer',
"http://
localhost:8283/new"},
{"X-Requested-
With",
"XMLHttpRequest"},
{'Content-
Type',
"application/x-
www-form-urlencoded; charset=UTF-8"},
{'Connection',
"keep-alive"},
{'Keep-
Alive',"300"},
{'Accept-
Charset',
"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
{'Accept-
Encoding',
"gzip,deflate"},
{'Accept-
Language',
"en-
us,en;q=0.5"},
{'Accept',
"text/plain, */
*"},
{'User-Agent',
"Mozilla/5.0
(X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100401 Ubuntu/9.10
(karmic) Firefox/3.5.9"},
{'Host',
"localhost:
8283"}],
#Fun<redhot2_inets.0.42989643>,
15]}
(redhot2@myggan)2>
=ERROR REPORT==== 21-May-2010::18:11:59 ===
Error in simple_bridge_request:make/2 - throw - {unexpected,
{error,exit,normal}}
[{simple_bridge_request,make_nocatch,2},
{simple_bridge_request,make,2},
{redhot2_inets,do_mochiweb,1},
{mochiweb_http,headers,5},
{proc_lib,init_p_do_apply,3}]
=ERROR REPORT==== 21-May-2010::18:11:59 ===
{mochiweb_socket_server,235,{child_error,{unexpected,
{error,exit,normal}}}}
quitting: timeout
(redhot2@myggan)2> redbug:start(15000,1000, [{mochiweb_http,headers,
[return]}]).
ok
Hard to say anything from this, so I wonder if someone else has seen
similar problems?
--Tobbe
--
You received this message because you are subscribed to the Google Groups "Nitrogen Web Framework for Erlang" group.
To post to this group, send email to
nitro...@googlegroups.com.
To unsubscribe from this group, send email to
nitrogenweb...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/nitrogenweb?hl=en.