On Tue, Feb 8, 2011 at 4:29 PM, Roberto De Ioris <[email protected]> wrote:
>
> Il giorno 08/feb/2011, alle ore 16.19, luigi scarso ha scritto:
>
>> Hi, I'm pretty sure that it's a silly question, but with a POST request with
>> content_length more than 255
>> I have this error on an erlang node:
>> 'uwsgierlang@johnII' got a corrupted external term from
>> 'uwsginode@johnII' on distribution channel 6723
>>
>> Any suggestion ?
>>
>>
>
> You have reach another stupid-design-decision in the old erlang stack:
>
> python strings are converted to atoms (that have a very limited size).
>
> Try to encode the body in a list/tuple before sending to erlang.
hm, I'm already using something like this
uwsgi.erlang_send_message(uwsgi_erlang,'uwsgierlang@johnII',
tuple(env.items()) ).
I can add a key to env
(something like env['data'] = "...very long stream of bytes ..."
but this doesn't solve the problem, I believe.
Or perhaps I haven't understand your answer .


-- 
luigi
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to