Il giorno 29/set/2011, alle ore 17:10, Valentin V. Bartenev ha scritto:

> On Thursday 29 September 2011 17:51:48 Roberto De Ioris wrote:
>> All of the modifier (except 0 and 30) referring to python, lost sense when
>> it became multi-language.
> 
> So, do you mean, that 32's modifier1 was deprecated and information on 
> http://projects.unbit.it/uwsgi/wiki/uwsgiProtocol
> is outdated? Or I misunderstand?

No it is valid, but it is no python-only, so the code must be updated in a 
portable way

> 
> I just want to pass a python string object from one python uWSGI instance to 
> another, and don't want to pass the whole ENV thing.

do not worry uWSGi does not make any assumption about the passed vars, you can 
even pass

{'foo':'bar'}

to it and it will be happy.

uwsgi.send_message("addr:port", 0, 0, {'foo':'bar'})

this will translate to a string of 14 byte sent to the socket.

--
Roberto De Ioris
http://unbit.it
JID: [email protected]

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

Reply via email to