Merge branch 'development' into LTS_development
This commit is contained in:
commit
3a4784f1a9
3 changed files with 9 additions and 1 deletions
|
@ -61,8 +61,10 @@ namespace Mist {
|
|||
|
||||
void OutHTTPTS::onHTTP(){
|
||||
std::string method = H.method;
|
||||
|
||||
initialize();
|
||||
H.clearHeader("Range");
|
||||
H.clearHeader("Icy-MetaData");
|
||||
H.clearHeader("User-Agent");
|
||||
H.SetHeader("Content-Type", "video/mp2t");
|
||||
H.setCORSHeaders();
|
||||
if(method == "OPTIONS" || method == "HEAD"){
|
||||
|
@ -70,6 +72,7 @@ namespace Mist {
|
|||
H.Clean();
|
||||
return;
|
||||
}
|
||||
H.protocol = "HTTP/1.0";//Force HTTP/1.0 because some devices just don't understand chunked replies
|
||||
H.StartResponse(H, myConn);
|
||||
parseData = true;
|
||||
wantRequest = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue