Commented out setbuf calls.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@553 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
5c71a13784
commit
361c073f2f
|
@ -281,7 +281,7 @@ void Event::StreamEvent( const char *path, int event_id, long refresh, FILE *fd
|
|||
exit( mysql_errno( &dbconn ) );
|
||||
}
|
||||
|
||||
setbuf( fd, 0 );
|
||||
//setbuf( fd, 0 );
|
||||
fprintf( fd, "Server: ZoneMinder Stream Server\r\n" );
|
||||
fprintf( fd, "Pragma: no-cache\r\n" );
|
||||
fprintf( fd, "Cache-Control: no-cache\r\n" );
|
||||
|
|
|
@ -675,7 +675,7 @@ void Monitor::StreamImages( unsigned long idle, unsigned long refresh, FILE *fd,
|
|||
{
|
||||
time_t start_time, now;
|
||||
|
||||
setbuf( fd, 0 );
|
||||
//setbuf( fd, 0 );
|
||||
fprintf( fd, "Server: ZoneMinder Stream Server\r\n" );
|
||||
fprintf( fd, "Pragma: no-cache\r\n" );
|
||||
fprintf( fd, "Cache-Control: no-cache\r\n" );
|
||||
|
|
Loading…
Reference in New Issue