From bf29388e02945d8fb8881037603c8ec60ae1fd97 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Thu, 26 Jan 2006 19:40:18 +0000 Subject: [PATCH] - fixed http error response --- server/connectionHTTP.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/server/connectionHTTP.c b/server/connectionHTTP.c index ffd987a..a526da9 100644 --- a/server/connectionHTTP.c +++ b/server/connectionHTTP.c @@ -1,5 +1,5 @@ /* - * $Id: connectionHTTP.c,v 1.9 2005/05/09 20:22:29 lordjaxom Exp $ + * $Id: connectionHTTP.c,v 1.10 2006/01/26 19:40:18 lordjaxom Exp $ */ #include @@ -83,12 +83,14 @@ bool cConnectionHTTP::ProcessRequest(void) } DELETENULL(m_LiveStreamer); DeferClose(); - return Respond("HTTP/1.0 409 Channel not available"); + return Respond("HTTP/1.0 409 Channel not available") + && Respond(""); } } DeferClose(); - return Respond("HTTP/1.0 400 Bad Request"); + return Respond("HTTP/1.0 400 Bad Request") + && Respond(""); } void cConnectionHTTP::Flushed(void)