Closed Bug 1935948 Opened 2 months ago Closed 1 month ago

Consider using original response headers for cookie parsing

Categories

(Core :: Networking: Cookies, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: baku, Assigned: baku)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

Using the original headers means we don't need to deal with merged headers. This is temping because it would be a great cleanup in CookieParser.

Assignee: nobody → amarchesini
Status: NEW → ASSIGNED
Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged]
Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/453ab78eb1ee Use original response headers for cookie handling, r=edgul,valentin,cookie-reviewers
Attachment #9442379 - Attachment description: Bug 1935948 - Use original response headers for cookie handling, r?edgul,valentin → Bug 1935948 - Split the cookie header at the channel level, r?edgul,valentin
Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/df9c44d9fd0e Split the cookie header at the channel level, r=edgul,valentin,cookie-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 135 Branch → ---
Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/866fd95260f4 Split the cookie header at the channel level, r=edgul,valentin,cookie-reviewers
Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3b72a6d05f53 Split the cookie header at the channel level, r=edgul,valentin,cookie-reviewers
Status: REOPENED → RESOLVED
Closed: 2 months ago1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
Flags: needinfo?(amarchesini)

Andrea, coverity (CID 1636971) complains on this change
https://searchfox.org/mozilla-central/source/netwerk/cookie/CookieServiceChild.cpp#500

continue_in_do_while_false: A continue statement within a do ... while (...) loop only continues execution of the loop body if the loop continuation condition is still true. Since the condition will never be true in a do ... while (false) loop, the continue statement has the same effect as a break statement. Did you intend execution to continue at the top of the loop?

is it legit ? if so, happy to open a bug

Flags: needinfo?(amarchesini)

I'll take a look and file a bug if needed.

Flags: needinfo?(amarchesini)
Blocks: 1941769
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: