Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Issue 7044092: Not allow compression when requesting multimedia (Closed)

Created:
9 years, 6 months ago by enal
Modified:
9 years, 6 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, cbentzel+watch_chromium.org, sjl, ddorwin+watch_chromium.org, fischman+watch_chromium.org, Paweł Hajdan Jr., acolwell GONE FROM CHROMIUM, annacc, darin-cc_chromium.org, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM), scherkus (not reviewing)
Visibility:
Public.

Description

Not allow compression when requesting multimedia because ffmpeg does not expect compressed files. (It does not make sense to compress audio/video anyways...) http://codereview.chromium.org/7044092 BUG=47381 TEST=http://www.deafmac.org/html5/grinchsample.mp4 (Please clear browser cache, otherwise it can contain original GZIP-ed file requested by old browser) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89532 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89858

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 1

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -54 lines) Patch
M chrome_frame/test/net/fake_external_tab.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 4 5 6 7 8 3 chunks +57 lines, -47 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 5 6 7 1 chunk +33 lines, -0 lines 0 comments Download
M webkit/glue/media/buffered_resource_loader.cc View 1 2 3 4 5 6 7 2 chunks +10 lines, -4 lines 0 comments Download
M webkit/glue/media/buffered_resource_loader_unittest.cc View 1 2 3 4 5 6 7 4 chunks +14 lines, -1 line 0 comments Download
M webkit/glue/media/simple_data_source.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
enal
9 years, 6 months ago (2011-06-09 20:05:09 UTC) #1
Alpha Left Google
+jar for reviewing net/*
9 years, 6 months ago (2011-06-09 20:06:56 UTC) #2
Alpha Left Google
http://codereview.chromium.org/7044092/diff/1/webkit/glue/media/buffered_resource_loader_unittest.cc File webkit/glue/media/buffered_resource_loader_unittest.cc (right): http://codereview.chromium.org/7044092/diff/1/webkit/glue/media/buffered_resource_loader_unittest.cc#newcode75 webkit/glue/media/buffered_resource_loader_unittest.cc:75: return value == WebString::fromUTF8("identity;q=1, *;q=0"); Check the exact string ...
9 years, 6 months ago (2011-06-09 20:30:25 UTC) #3
jar (doing other things)
Can you adjust the comment and TODO per details below? As a side comment, I ...
9 years, 6 months ago (2011-06-09 21:24:36 UTC) #4
enal
Addressed everything. http://codereview.chromium.org/7044092/diff/1/net/url_request/url_request_http_job.cc File net/url_request/url_request_http_job.cc (right): http://codereview.chromium.org/7044092/diff/1/net/url_request/url_request_http_job.cc#newcode405 net/url_request/url_request_http_job.cc:405: // is probably an img or such ...
9 years, 6 months ago (2011-06-09 21:55:02 UTC) #5
jar (doing other things)
LGTM
9 years, 6 months ago (2011-06-09 23:29:48 UTC) #6
Alpha Left Google
LGTM.
9 years, 6 months ago (2011-06-09 23:32:39 UTC) #7
scherkus (not reviewing)
cool! you'll also want to update webkit/glue/media/simple_data_source
9 years, 6 months ago (2011-06-14 03:47:50 UTC) #8
scherkus (not reviewing)
I'm also open to suggestions as to how to de-duplicate code, etc..
9 years, 6 months ago (2011-06-14 03:48:10 UTC) #9
enal
Added to simple data source. Not sure how to reuse the code -- we probably ...
9 years, 6 months ago (2011-06-14 17:48:23 UTC) #10
scherkus (not reviewing)
LGTM
9 years, 6 months ago (2011-06-14 17:55:23 UTC) #11
commit-bot: I haz the power
Presubmit check for 7044092-13001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 6 months ago (2011-06-14 17:55:40 UTC) #12
enal
Added willchan as reviewer, LGTM from jar is not enough... :-(
9 years, 6 months ago (2011-06-14 18:03:16 UTC) #13
willchan no longer on Chromium
I'm a bit confused. Why is this an ffmpeg issue? Isn't the network stack decompressing ...
9 years, 6 months ago (2011-06-14 18:38:04 UTC) #14
enal1
Obviously, network stack is not decompressing the content. If you can point me where it ...
9 years, 6 months ago (2011-06-14 18:49:47 UTC) #15
willchan no longer on Chromium
On Tue, Jun 14, 2011 at 9:49 PM, Eugene Nalimov <enal@google.com> wrote: > Obviously, network ...
9 years, 6 months ago (2011-06-14 19:04:21 UTC) #16
enal
I found why compressed content does not work. When serving from cache, we are getting ...
9 years, 6 months ago (2011-06-15 02:51:25 UTC) #17
willchan no longer on Chromium
On 2011/06/15 02:51:25, enal wrote: > I found why compressed content does not work. > ...
9 years, 6 months ago (2011-06-15 17:02:00 UTC) #18
enal1
On Wed, Jun 15, 2011 at 10:02 AM, <willchan@chromium.org> wrote: > On 2011/06/15 02:51:25, enal ...
9 years, 6 months ago (2011-06-15 18:04:28 UTC) #19
enal
Added comment to URLRequestHttpJob::AddExtraHeaders() explaining that we are working around misconfigured servers.
9 years, 6 months ago (2011-06-15 18:17:24 UTC) #20
jar (doing other things)
As a note on my philosophy for accept-encoding: We are already modulating "accept-encoding" (varying it) ...
9 years, 6 months ago (2011-06-16 00:33:36 UTC) #21
rvargas (doing something else)
LGTM. I'm sorry it took you long to debug this, I'm pretty sure I mentioned ...
9 years, 6 months ago (2011-06-16 01:39:40 UTC) #22
willchan no longer on Chromium
Thanks for the explanation Ricardo! It sounds like this is indeed a bug to send ...
9 years, 6 months ago (2011-06-16 05:42:20 UTC) #23
enal1
Thank you for the detailed explanation. Stupid question: is it possible for cache not to ...
9 years, 6 months ago (2011-06-16 16:13:16 UTC) #24
rvargas (doing something else)
On 2011/06/16 16:13:16, enal1 wrote: > Thank you for the detailed explanation. > > Stupid ...
9 years, 6 months ago (2011-06-16 18:14:56 UTC) #25
jar (doing other things)
Does this imply than any time we do a byte-range-request, we should assume the requester ...
9 years, 6 months ago (2011-06-16 20:45:33 UTC) #26
scherkus (not reviewing)
quick sanity check question before submitting... should the media cache not send accept-gzip so each ...
9 years, 6 months ago (2011-06-17 00:07:04 UTC) #27
enal1
I believe that depends on the exact content and how client handles the data. If ...
9 years, 6 months ago (2011-06-17 00:10:52 UTC) #28
scherkus (not reviewing)
ok cool do you want to update that comment nit? then I'll click the box
9 years, 6 months ago (2011-06-17 00:19:26 UTC) #29
rvargas (doing something else)
On 2011/06/16 20:45:33, jar wrote: > Does this imply than any time we do a ...
9 years, 6 months ago (2011-06-17 00:33:00 UTC) #30
enal
Updated comment, added unit test that checks Accept-Encoding behavior.
9 years, 6 months ago (2011-06-17 15:31:54 UTC) #31
scherkus (not reviewing)
LGTM -- net/ folks what say you?
9 years, 6 months ago (2011-06-17 17:18:14 UTC) #32
rvargas (doing something else)
LGTM, thanks for the test.
9 years, 6 months ago (2011-06-17 17:30:50 UTC) #33
commit-bot: I haz the power
Change committed as 89532
9 years, 6 months ago (2011-06-17 18:56:09 UTC) #34
enal1
Adding ananta@chromium.org as reviewer, disabling 2 net layer tests for chrome frame...
9 years, 6 months ago (2011-06-20 23:59:16 UTC) #35
ananta
On 2011/06/20 23:59:16, enal1 wrote: > Adding mailto:ananta@chromium.org as reviewer, disabling 2 net layer tests ...
9 years, 6 months ago (2011-06-21 00:32:19 UTC) #36
commit-bot: I haz the power
9 years, 6 months ago (2011-06-21 18:05:54 UTC) #37
Change committed as 89858

Powered by Google App Engine
This is Rietveld 408576698