Open
Bug 1255415
Opened 9 years ago
Updated 4 years ago
Avoid bypassing the DNS cache when using the fetch RequestCache API
Categories
(Core :: Networking, defect, P5)
Core
Networking
Tracking
()
NEW
People
(Reporter: ehsan.akhgari, Unassigned)
References
Details
(Whiteboard: [necko-backlog])
Attachments
(1 file)
8.75 KB,
patch
|
mayhemer
:
review-
|
Details | Diff | Splinter Review |
This patch adds a new flag, LOAD_BYPASS_DNS_CACHE to specifically
opt out of the DNS cache, and nothing else, and then adds internal
flags similar to VALIDATE_ALWAYS and LOAD_BYPASS_CACHE but respecting
the DNS cache, and uses them for RequestCache.
The existing behavior of VALIDATE_ALWAYS and LOAD_BYPASS_CACHE is
preserved.
Reporter | ||
Comment 1•9 years ago
|
||
Attachment #8728980 -
Flags: review?(honzab.moz)
Updated•9 years ago
|
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Updated•9 years ago
|
Whiteboard: [necko-active]
Comment 2•9 years ago
|
||
Comment on attachment 8728980 [details] [diff] [review]
Avoid bypassing the DNS cache when using the fetch RequestCache API
Review of attachment 8728980 [details] [diff] [review]:
-----------------------------------------------------------------
No, this is not the way. Let's leave the behavior unchanged. I have to talk to necko folks about next moves and actually figure out if this is that big problem to deal with it first.
::: netwerk/base/nsIRequest.idl
@@ +158,5 @@
> + *
> + * NOTE: If you change this value, please update nsICachingChannel constants
> + * too.
> + */
> + const unsigned long LOAD_BYPASS_DNS_CACHE = 1 << 9;
I think we are out of flags here.
and I'm not happy you are moving everything. if we have space (that I think not) then add to the end.
Attachment #8728980 -
Flags: review?(honzab.moz) → review-
Reporter | ||
Comment 3•9 years ago
|
||
OK, then. Unassigning.
Assignee: ehsan → nobody
Status: ASSIGNED → NEW
Comment 4•9 years ago
|
||
honza can you figure out an acceptable formulation - this seems good to have
Assignee: nobody → honzab.moz
Updated•9 years ago
|
Whiteboard: [necko-active] → [necko-backlog]
Comment 6•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 7•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Comment 8•4 years ago
|
||
Bulk-downgrade of unassigned, >=3 years untouched DOM/Storage bug's priority.
If you have reason to believe this is wrong, please write a comment and ni :jstutte.
Severity: normal → S4
Priority: P3 → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•