Do not flush the output when connecting over a PHP socket, it is useless and causes "Headers already sent" when used from a Web server.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6011 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
edbdb046e8
commit
2c7bd66168
|
@ -475,8 +475,8 @@ class Yate
|
|||
$yate_stdout = fopen("php://stdout","w");
|
||||
$yate_stderr = fopen("php://stderr","w");
|
||||
$role = "";
|
||||
flush();
|
||||
}
|
||||
flush();
|
||||
set_error_handler("_yate_error_handler");
|
||||
ob_implicit_flush(1);
|
||||
if ($async && function_exists("stream_set_blocking") && $yate_stdin)
|
||||
|
|
Loading…
Reference in New Issue