New issue
Advanced search Search tips

Issue 891738 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

JavaUrlRequest crashes on HTTP 304

Project Member Reported by pauljensen@chromium.org, Oct 3

Issue description

In JavaUrlRequest, fireGetHeaders() considers and 3xx response code a redirect and in turn fireRedirectReceived() gets the location header and crashes if it's null.
 
Labels: Hotlist-GoodFirstBug
Hi, can I get started this issue?
comment #2: Sure.  I think the original reporter realized they shouldn't be manually adding If-None-Match or If-Modified-Since headers and should instead let Cronet's cache control these headers.  Cronet should at least not crash in these cases.  I think in the past another Cronet user got a redirect response code from a broken server that forgot to include the Location header; again this should not crash Cronet.

Sign in to add a comment