Forum

CGI Output Buffering

Raspberry Pi User
11 October 2018, 13:42
Hi,

Is there a way to disable CGI output buffering for a script? The idea is to make a response immediately, not just when the script terminates.
Hugo Leisink
12 October 2018, 00:19
You have to explicitly flush the output buffer of your CGI. For example, use fflush() in C.
This topic has been closed.