durusmail: quixote-users: Re: Medusa producers
Medusa producers
2003-08-21
Re: Medusa producers
2003-08-21
2003-08-21
2003-08-21
2003-08-21
2003-08-22
2003-08-22
2003-08-22
2003-08-22
2003-08-22
2003-08-22
response streams [Was: Medusa producers]
response streams
2003-08-27
Re: response streams [Was: Medusa producers]
2003-08-28
Re: Medusa producers
Oleg Broytmann
2003-08-22
On Fri, Aug 22, 2003 at 06:47:41PM +0400, Oleg Broytmann wrote:
>    Ok, here are my patches, debugged, tested and attached.

   I forgot to explai the patch.

   Now an applicatio can return either a producer or an iterator (most
probably, a generator). publisher.publish handle both cases by sucking all
output. medusa_http, though, wrap an iterator (if it was an iterator) into
a producer, and push the producer up to Medusa.

Oleg.
--
     Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

reply