roxen.lists.roxen.general

Subject Author Date
Re: something like php flush() for roxen Martin Bähr <mbaehr[at]email[dot]archlab[dot]tuwien[dot]ac> 18-04-2006
On Tue, Apr 18, 2006 at 10:42:10AM +0200, Arjan van Staalduijnen wrote:
> if there's any chance of implementing this, it would have to be some
> code at the pike level... ...but considering the architecture of roxen I
> guess it's not possible. Roxen is constructed in a way of first creating
> the entire output and in the process having the possibility to make
> modifications to the result.

it is possible to tell roxen to let your module handle the sending of
the data with http_pipe_in_progress()
the tricky part will be to combine that with emit and rxml parsing in
general.

it might be necessary to fiddle with the rxml parser itself to add
something to tell it to send the data that it has produced so far.

greetings, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
offering: programming, training and administration   -  anywhere in the world
--
pike programmer   travelling and working in europe             open-steam.org
unix system-      bahai.or.at                        iaeste.(tuwien.ac|or).at
administrator     (caudium|gotpike).org                          is.schon.org
Martin Bähr       http://www.iaeste.or.at/~mbaehr/