summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2006-01-26 19:40:18 +0000
committerlordjaxom <lordjaxom>2006-01-26 19:40:18 +0000
commitbf29388e02945d8fb8881037603c8ec60ae1fd97 (patch)
tree146de5c71cdb6d2c120bc73b38391b9fa256b56d /server
parent8634d821234b8c58fcaa6b400049acd5c3214eab (diff)
downloadvdr-plugin-streamdev-bf29388e02945d8fb8881037603c8ec60ae1fd97.tar.gz
vdr-plugin-streamdev-bf29388e02945d8fb8881037603c8ec60ae1fd97.tar.bz2
- fixed http error response
Diffstat (limited to 'server')
-rw-r--r--server/connectionHTTP.c8
1 files 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 <ctype.h>
@@ -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)