Michael Marineau
c9e5a6a602
client: define default version as a constant
2017-06-02 18:44:29 -07:00
Michael Marineau
d40844181a
client: add fuzzy timer
...
For randomizing update check intervals and backoff delays to reduce
chance of DoSing the server if lots of clients start together.
2017-06-02 18:42:53 -07:00
Michael Marineau
73e12a0154
client: add support for machine-wide omaha clients
...
Uses machine id and boot id for user and session respectively, matching
the existing behavior of update_engine.
2017-05-25 13:57:28 -07:00
Michael Marineau
ad277db627
client: implement event, ping, and updatecheck
...
For simplicity one request is sent for each event/ping/check for each
application. In the future it would be wise to batch together multiple
events and multiple applications to avoid excessive chatter.
2017-05-25 13:13:10 -07:00
Michael Marineau
45e1ea6221
client: report sensible errors if response is excessively large or empty
2017-05-25 13:13:09 -07:00
Michael Marineau
e6f3abe15e
client: support retrying requests after transient HTTP errors
...
Wraps failed http.Request objects in a net.Error interface.
2017-05-25 13:13:09 -07:00
Michael Marineau
b8149cc683
client: add extended http client for making omaha api requests
...
Supports encoding/decoding omaha xml and retrying on transient failures.
2017-05-25 13:13:09 -07:00
Michael Marineau
b2b975be5d
client: begin omaha client implementation
...
This first commit just covers the basic data structures.
2017-05-25 13:13:09 -07:00