John Napiorkowski
/
0.002010
(JJNAPIORK on 2026-09-22)
0.002008
(JJNAPIORK on 2026-09-01)
0.002007
(JJNAPIORK on 2026-08-29)
0.002006
(JJNAPIORK on 2026-08-28)
0.002005
(JJNAPIORK on 2026-08-26)
0.002004
(JJNAPIORK on 2026-08-25)
0.002003
(JJNAPIORK on 2026-08-24)
0.002002
(JJNAPIORK on 2026-08-21)
0.002001
(JJNAPIORK on 2026-06-30)
0.002000
(JJNAPIORK on 2026-06-27)
0.001023
(JJNAPIORK on 2026-05-22)
0.001022
(JJNAPIORK on 2026-04-06)
0.001021
(JJNAPIORK on 2026-04-04)
0.001020
(JJNAPIORK on 2026-03-16)
0.001019
(JJNAPIORK on 2026-02-20)
0.001018
(JJNAPIORK on 2026-02-16)
0.001017
(JJNAPIORK on 2026-02-11)
0.001016
(JJNAPIORK on 2026-02-02)
0.001015
(JJNAPIORK on 2026-01-19)
0.001014
(JJNAPIORK on 2026-01-16)
0.001013
(JJNAPIORK on 2026-01-04)
0.001012
(JJNAPIORK on 2026-01-02)
0.001011
(JJNAPIORK on 2025-12-28)
0.001010
(JJNAPIORK on 2025-12-27)
0.001009
(JJNAPIORK on 2025-12-26)
0.001008
(JJNAPIORK on 2025-12-25)
0.001007
(JJNAPIORK on 2025-12-25)
0.001006
(JJNAPIORK on 2025-12-25)
0.001001
(JJNAPIORK on 2025-12-17)
PAGI-0.002010
9 ++
/
examples/07-extension-fullflush/README.md
07 – Extension-Aware Streaming with FullFlush
Demonstrates how to:
Check for extension support via scope->{extensions}{fullflush}
Use http.fullflush event during streaming to force immediate TCP buffer flush
Only send extension events when the server advertises support
The fullflush extension is useful for real-time streaming scenarios where you want each chunk delivered to the client immediately rather than waiting for TCP buffer fill or Nagle's algorithm.
Quick Start
1. Start the server:
pagi-server --app examples/07-extension-fullflush/app.pl --port 5000
2. Demo with curl:
# Watch real-time streaming with immediate flush
curl -N http://localhost:5000/
# => Chunk 1 (flushed immediately)
# => Chunk 2 (flushed immediately)
# => ...
# Each chunk appears instantly rather than being buffered
Note: The difference from regular streaming is most noticeable with small chunks that would normally be buffered by TCP.
Spec References
Extension mechanism – PAGI::Spec::Extensions
Fullflush example – PAGI::Spec::Extensions (the fullflush section)