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://voip.null.ro/svn/yate@6011 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2015-07-30 12:48:32 +00:00
parent cc00aaa405
commit 1b6d6773c1
1 changed files with 1 additions and 1 deletions

View File

@ -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)