Removed zero content length header in non-nph mode.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@994 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2004-03-23 09:24:13 +00:00
parent f233e298fb
commit 02d94534b0
1 changed files with 5 additions and 4 deletions

View File

@ -105,10 +105,11 @@ int main( int argc, const char *argv[] )
fprintf( stdout, "Cache-Control: no-store, no-cache, must-revalidate\r\n" );
fprintf( stdout, "Cache-Control: post-check=0, pre-check=0\r\n" );
fprintf( stdout, "Pragma: no-cache\r\n");
if ( !nph )
{
fprintf( stdout, "Content-Length: 0\r\n");
}
// Removed as causing more problems than it fixed.
//if ( !nph )
//{
//fprintf( stdout, "Content-Length: 0\r\n");
//}
if ( !event )
{