mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
- fixed http error response
This commit is contained in:
parent
8634d82123
commit
bf29388e02
@ -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>
|
#include <ctype.h>
|
||||||
@ -83,12 +83,14 @@ bool cConnectionHTTP::ProcessRequest(void)
|
|||||||
}
|
}
|
||||||
DELETENULL(m_LiveStreamer);
|
DELETENULL(m_LiveStreamer);
|
||||||
DeferClose();
|
DeferClose();
|
||||||
return Respond("HTTP/1.0 409 Channel not available");
|
return Respond("HTTP/1.0 409 Channel not available")
|
||||||
|
&& Respond("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DeferClose();
|
DeferClose();
|
||||||
return Respond("HTTP/1.0 400 Bad Request");
|
return Respond("HTTP/1.0 400 Bad Request")
|
||||||
|
&& Respond("");
|
||||||
}
|
}
|
||||||
|
|
||||||
void cConnectionHTTP::Flushed(void)
|
void cConnectionHTTP::Flushed(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user