Skip to content

Commit

Permalink
Don't forget to send server response if in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Dec 12, 2011
1 parent 1816274 commit 700e6b4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/mapserver/qgshttprequesthandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,8 @@ void QgsHttpRequestHandler::sendHttpResponse( QByteArray* ba, const QString& for
printf( "\n" );
printf( "Content-Length: %d\n", ba->size() );
printf( "\n" );
#ifdef QGISDEBUG
int result = fwrite( ba->data(), ba->size(), 1, FCGI_stdout );
QgsDebugMsg( QString( "Sent %1 bytes" ).arg( result ) );
#endif
}

QString QgsHttpRequestHandler::formatToMimeType( const QString& format ) const
Expand Down

0 comments on commit 700e6b4

Please sign in to comment.