Bug 1344374 - remove now-meaningless nsIRequest::INHIBIT_PIPELINE r=hurley

This commit is contained in:
Patrick McManus
2017-03-03 16:46:53 -05:00
parent a6dd1da8bc
commit e07d03fbf9
3 changed files with 0 additions and 18 deletions

View File

@@ -6444,13 +6444,6 @@ void HTMLMediaElement::SetRequestHeaders(nsIHttpChannel* aChannel)
// Send Accept header for video and audio types only (Bug 489071)
SetAcceptHeader(aChannel);
// Media elements are likely candidates for HTTP Pipeline head of line
// blocking problems, so disable pipelines.
nsLoadFlags loadflags;
aChannel->GetLoadFlags(&loadflags);
loadflags |= nsIRequest::INHIBIT_PIPELINE;
aChannel->SetLoadFlags(loadflags);
// Apache doesn't send Content-Length when gzip transfer encoding is used,
// which prevents us from estimating the video length (if explicit Content-Duration
// and a length spec in the container are not present either) and from seeking.