> ----- Oryginalna wiadomość -----
>> Od: "Roberto De Ioris" <[email protected]>
>> Do: "uWSGI developers and users list" <[email protected]>
>> Wysłane: wtorek, 5 lipiec 2011 11:44:56
>> Temat: Re: [uWSGI] spooler
>>
>> No, it will get a static buffer of the full 64K
>>
>> I will commit the patch today
>>
>
>
> Any idea how to send a message larger than 64k?
> I uses spooler to send e-mail from www form, and the message is often
> greater than 64k.
> Because this is one message I can not really divide it into smaller parts.
>


The buffer is now maxed (with dynamic allocation) and a new special arg
has been added to the spooler.

If you add body=XXX the content will be appended to the uwsgi file and
passed as 'body' arg in the callable.

Check the big_body_task function in the decoratortest.py example

http://projects.unbit.it/uwsgi/browser/decoratortest.py

You can obviously put pickle data as body.

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

Reply via email to