Closed Bug 1523417 Opened 5 years ago Closed 5 years ago

BITS client library - in-process support

Categories

(Toolkit :: Application Update, enhancement, P2)

Desktop
Windows
enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: agashlin, Assigned: agashlin)

References

Details

Attachments

(1 file, 1 obsolete file)

This is a Rust library to interface with the Windows BITS download mechanism. It can be used in Firefox to manage update downloads, and can later be used by the update agent.

The interface is designed to wrap either direct, in-process access to the BITS COM objects (for jobs owned by the current user), or via named pipe IPC with another process running as LocalService (for jobs which float with the system). This bug will only implement the former, the latter falls under bug 1515450.

The code is currently located at https://github.com/hcs64/update_agent

Depends on D17989

Depends on: 1523802
Attachment #9039951 - Attachment description: Bug 1523417 - BITS client library for update downloading → Bug 1523417 - Part 1: BITS client library for update downloading
Attachment #9039952 - Attachment description: Bug 1523417 - vendor rust, adds wio 0.2.0 → Bug 1523417 - Part 2: vendor rust, adds wio 0.2.0
Attachment #9039952 - Attachment is obsolete: true
Attachment #9039951 - Attachment description: Bug 1523417 - Part 1: BITS client library for update downloading → Bug 1523417 - BITS client library for update downloading
Depends on: 1531577
Priority: -- → P2
Pushed by agashlin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ac38291d9c56
BITS client library for update downloading r=aklotz,emilio,froydnj
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Depends on: 1538416

What if user will have BITS turned off on his PC?

(In reply to alexander from comment #5)

What if user will have BITS turned off on his PC?

If Firefox isn't able to access the BITS service, for instance if BITS is disabled, then it will fall back to using the internal incremental downloader, as it would have done before BITS support was added.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: