Bug 1344374 - remove now-meaningless nsIRequest::INHIBIT_PIPELINE r=hurley
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user