Silly mistake is silly.
This commit is contained in:
parent
f7b3ecee8c
commit
cbaf4107f9
3 changed files with 3 additions and 3 deletions
|
@ -410,7 +410,7 @@ namespace Mist {
|
|||
WARN_MSG("Requested to send a HTTP response but the given message is empty. Trying though.");
|
||||
}
|
||||
|
||||
H.SendResponse(message, code, myConn);
|
||||
H.SendResponse(code, message, myConn);
|
||||
}
|
||||
/*end-roxlu*/
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace Mist {
|
|||
void reConnector(std::string & connector);
|
||||
std::string getHandler();
|
||||
/*begin-roxlu*/
|
||||
void sendResponse(std::string message, std::string code = "200");
|
||||
void sendResponse(std::string message = "OK", std::string code = "200");
|
||||
/*end-roxlu*/
|
||||
protected:
|
||||
HTTP::Parser H;
|
||||
|
|
|
@ -44,7 +44,7 @@ namespace Mist {
|
|||
H.SetHeader("Content-Type", "video/x-flv");
|
||||
H.protocol = "HTTP/1.0";
|
||||
H.setCORSHeaders();
|
||||
sendResponse("OK");
|
||||
sendResponse();
|
||||
myConn.SendNow(FLV::Header, 13);
|
||||
tag.DTSCMetaInit(myMeta, selectedTracks);
|
||||
myConn.SendNow(tag.data, tag.len);
|
||||
|
|
Loading…
Add table
Reference in a new issue