mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
a164c90e28
Normally if the stdout is connected to a PTY, the stdout buffer is flushed automatically after each \n. However if I run SRS under Docker, the stdout is not connected to a PTY (unless I ask it to), causing the last log line to be incomplete (showing only half). By adding fflush, we could make sure each log line is completely shown, whenever the stdout is connected to a PTY or not. |
9 years ago | |
---|---|---|
.. | ||
3rdparty | 10 years ago | |
auto | 9 years ago | |
conf | 9 years ago | |
doc | 10 years ago | |
etc/init.d | 9 years ago | |
ide | 9 years ago | |
modules | 10 years ago | |
research | 9 years ago | |
scripts | 9 years ago | |
src | 9 years ago | |
configure | 9 years ago |