Closed Bug 1901539 Opened 1 year ago Closed 1 year ago

Refactor crashreporter network code

Categories

(Toolkit :: Crash Reporting, task)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: afranchuk, Assigned: afranchuk)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Refactor the network code to be more general than the implementation in net/report.rs. Specifically we need to also send crash pings ourselves once pingsender is removed, so we should have networking code which transparently will try curl/libcurl as net/report.rs currently does. When we add a Necko backend it can then just add an attempt in one place and use the fallback if that fails.

This moves the curl/libcurl attempts into the HTTP interface. The
interface implements the specific HTTP requests we need to make. It adds
the interface needed for sending crash pings, however it is not used
yet.

Blocks: 1821091
Pushed by afranchuk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ff71c7f66ed6 crashreporter: create an HTTP interface r=gsvelto
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: