From 0efe8cb58bcee2110bf8b3cbb68a0cacaadcf031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Tue, 3 Feb 2009 14:09:31 +0000 Subject: [PATCH] flushing output git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1233 44740490-163a-0410-bde0-09ae8108e29a --- modules/ldapstatus/lib/LDAPTester.php | 1 + modules/ldapstatus/www/index.php | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/ldapstatus/lib/LDAPTester.php b/modules/ldapstatus/lib/LDAPTester.php index f5c1bd72c..51a122ae2 100644 --- a/modules/ldapstatus/lib/LDAPTester.php +++ b/modules/ldapstatus/lib/LDAPTester.php @@ -49,6 +49,7 @@ class sspmod_ldapstatus_LDAPTester { } else { SimpleSAML_Logger::debug('ldapstatus phpping(): ping [' . $host . ':' . $port . ']' ); } + flush(); } private function phpping($host, $port) { diff --git a/modules/ldapstatus/www/index.php b/modules/ldapstatus/www/index.php index 97afc2620..26dce3517 100644 --- a/modules/ldapstatus/www/index.php +++ b/modules/ldapstatus/www/index.php @@ -30,6 +30,7 @@ function myErrorHandler($errno, $errstr, $errfile, $errline) { echo('<p>PHP_UNKNOWN : [' . $errno . '] ' . $errstr . '. Unknown error on line ' . $errline . ' in file ' . $errfile); break; } + flush(); /* Don't execute PHP internal error handler */ return true; -- GitLab