table update requests once per minute on http 4xx response
RESOLVED
DUPLICATE
of bug 423790
Status
()
People
(Reporter: Tony Chang (Google), Assigned: Tony Chang (Google))
Tracking
({fixed1.8.1.14, fixed1.8.1.15})
Firefox Tracking Flags
(Not tracked)
Details
Attachments
(1 attachment)
|
3.21 KB,
patch
|
dcamp
:
review+
Gavin
:
review+
dveditz
:
approval1.8.1.14+
dveditz
:
approval1.8.1.15+
|
Details | Diff | Splinter Review |
Murray has reported that if the table update request sees a http 404 response, it keeps hammering away trying to update once a minute. This is a bug in the response handling. If there's an update error but it's not one of the backoff responses (5xx), it falls into this unhandled area and we try to update again after a minute. The code in question is here: http://lxr.mozilla.org/mozilla1.8/source/toolkit/components/url-classifier/content/listmanager.js#543 I think the right thing to do is just ignore the response and let the regular 30min check kick in.
| (Assignee) | ||
Comment 1•11 years ago
|
||
Created attachment 263038 [details] [diff] [review] ignore server responses that don't trigger backoff If the download fails and the server returns something that isn't a backoff status, just ignore it.
Attachment #263038 -
Flags: review?
| (Assignee) | ||
Updated•11 years ago
|
||
Attachment #263038 -
Flags: review?(gavin.sharp)
Attachment #263038 -
Flags: review?(dcamp)
Attachment #263038 -
Flags: review?
Comment 2•11 years ago
|
||
Comment on attachment 263038 [details] [diff] [review] ignore server responses that don't trigger backoff Is this patch obsolete given the changes in bug 387196/bug 388652 etc?
Updated•10 years ago
|
||
Attachment #263038 -
Flags: review?(gavin.sharp) → review+
| (Assignee) | ||
Updated•10 years ago
|
||
Attachment #263038 -
Flags: approval1.9?
Attachment #263038 -
Flags: approval1.8.1.8?
Comment 3•10 years ago
|
||
Comment on attachment 263038 [details] [diff] [review] ignore server responses that don't trigger backoff please re-request approvals when gavin's question is answered and dcamp has reviewed this
Attachment #263038 -
Flags: approval1.9?
Attachment #263038 -
Flags: approval1.8.1.8?
| (Assignee) | ||
Comment 4•10 years ago
|
||
(In reply to comment #2) > (From update of attachment 263038 [details] [diff] [review]) > Is this patch obsolete given the changes in bug 387196/bug 388652 etc? No, we still need this patch, although the line numbers have changed due to bug 387196. Even with the removal of enhanced mode, we'd still have this problem (this is for updates to the local phishing/malware database).
Updated•10 years ago
|
||
Attachment #263038 -
Flags: review?(dcamp) → review+
| (Assignee) | ||
Updated•10 years ago
|
||
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 423790
Comment 6•10 years ago
|
||
Comment on attachment 263038 [details] [diff] [review] ignore server responses that don't trigger backoff Requesting approval on this branch patch to get this on the radar. Dave says: "very little [risk]" "the only thing it touches is error cases anyway; so even totally worst case it would break anti-phishing backoff. and it's a simple patch that won't break :)"
Attachment #263038 -
Flags: approval1.8.1.15?
Attachment #263038 -
Flags: approval1.8.1.14?
Comment 7•10 years ago
|
||
Comment on attachment 263038 [details] [diff] [review] ignore server responses that don't trigger backoff approved for 1.8.1.14 and 1.8.1.15, a=dveditz for release-drivers. This means it needs to land on two branches, the regular MOZILLA_1_8_BRANCH for future 2.0.0.x releases, and GECKO181_20080311_RELBRANCH for the 1.8.1.14 crash-fix release.
Attachment #263038 -
Flags: approval1.8.1.15?
Attachment #263038 -
Flags: approval1.8.1.15+
Attachment #263038 -
Flags: approval1.8.1.14?
Attachment #263038 -
Flags: approval1.8.1.14+
Comment 8•10 years ago
|
||
Checked in on MOZILLA_1_8_BRANCH: /cvsroot/mozilla/toolkit/components/url-classifier/content/listmanager.js,v <-- listmanager.js new revision: 1.1.2.15; previous revision: 1.1.2.14 done Checking in request-backoff.js; /cvsroot/mozilla/toolkit/components/url-classifier/content/request-backoff.js,v <-- request-backoff.js new revision: 1.1.2.2; previous revision: 1.1.2.1 done and on GECKO181_20080311_RELBRANCH: Checking in listmanager.js; /cvsroot/mozilla/toolkit/components/url-classifier/content/listmanager.js,v <-- listmanager.js new revision: 1.1.2.14.24.1; previous revision: 1.1.2.14 done Checking in request-backoff.js; /cvsroot/mozilla/toolkit/components/url-classifier/content/request-backoff.js,v <-- request-backoff.js new revision: 1.1.2.1.24.1; previous revision: 1.1.2.1 done
Keywords: fixed1.8.1.14, fixed1.8.1.15
Comment 9•10 years ago
|
||
Do we have any sort of test server to verify this fix against?
Updated•4 years ago
|
||
Component: Phishing Protection → Phishing Protection
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•