Browser: Opera
Centos 8 with CgroupV2 enable
when start build,.... eg. builld php
it's not show output what's going on until success building
eg. it show only
in now, for quick fix
just add ' echo "Content-Encoding: none\n"; ' to "/build_software_command.raw" and "/show_log.raw"
other page I don't test it, I just test only Build Software Page
anyelse suggestion ?
UPDATE 2021 June 05
"Content-Type: text/event-stream" with "Content-Encoding: none" better than"text/html"
but work in some newest browser
because browser need some data 1024bytes before display
Centos 8 with CgroupV2 enable
when start build,.... eg. builld php
it's not show output what's going on until success building
eg. it show only
Code:
Opening log..
in now, for quick fix
just add ' echo "Content-Encoding: none\n"; ' to "/build_software_command.raw" and "/show_log.raw"
Code:
echo "HTTP/1.1 200 OK\n";
echo "Content-Encoding: none\n";
echo "Content-Type: text/html\n\n";
anyelse suggestion ?
UPDATE 2021 June 05
Code:
echo "HTTP/1.1 200 OK\n";
echo "Content-Encoding: none\n";
echo "Content-Type: text/event-stream\n\n";
but work in some newest browser
because browser need some data 1024bytes before display
Last edited: