Merge branch 'development' into LTS_development
This commit is contained in:
commit
6e644e493f
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,8 @@ namespace Mist {
|
|||
INFO_MSG("Failing '%s': %s: %s", streamName.c_str(), H.url.c_str(), msg.c_str());
|
||||
if (!webSock){
|
||||
H.Clean(); //make sure no parts of old requests are left in any buffers
|
||||
H.SetHeader("Server", "MistServer/" PACKAGE_VERSION);
|
||||
H.setCORSHeaders();
|
||||
H.SetBody("Could not retrieve stream: "+msg);
|
||||
H.SendResponse("404", "Error opening stream", myConn);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue