Merge branch 'development' into LTS_development
This commit is contained in:
commit
1d4980dca1
2 changed files with 11 additions and 8 deletions
|
@ -42,9 +42,11 @@ namespace Mist {
|
|||
}
|
||||
|
||||
void HTTPOutput::onFail(){
|
||||
H.Clean(); //make sure no parts of old requests are left in any buffers
|
||||
H.SetBody("Stream not found. Sorry, we tried.");
|
||||
H.SendResponse("404", "Stream not found", myConn);
|
||||
if (!webSock){
|
||||
H.Clean(); //make sure no parts of old requests are left in any buffers
|
||||
H.SetBody("Stream not found. Sorry, we tried.");
|
||||
H.SendResponse("404", "Stream not found", myConn);
|
||||
}
|
||||
Output::onFail();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue