in reply to HTML5, SSE, flush output '$| = 1' not working as expected
I guess that Apache will try to parse your headers and thus waits until your script exits.
I would investigate on whether you need to output a HTTP status line to make Apache ignore your output or if you need to configure Apache differently ("non-parsed headers", NPH).
In general, Server-Sent Events work, as I've written a Dancer/Plack application HTTP::ServerEvents. If you're not tied to Apache, maybe you can run this or Plack::App::EventSource by vti.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: HTML5, SSE, flush output '$| = 1' not working as expected
by ehaase (Initiate) on Sep 06, 2015 at 11:01 UTC | |
|
Re^2: HTML5, SSE, flush output '$| = 1' not working as expected
by ehaase (Initiate) on Sep 05, 2015 at 14:34 UTC | |
by poj (Abbot) on Sep 05, 2015 at 15:10 UTC |