Bases: object
Sends SSYNC requests to the object server.
These requests are eventually handled by ssync_receiver and full documentation about the process is there.
Establishes a connection and starts an SSYNC request with the object server.
Closes down the connection to the object server once done with the SSYNC request.
Handles the sender-side of the MISSING_CHECK step of a SSYNC request.
Full documentation of this can be found at Receiver.missing_check().
Reads a line from the SSYNC response body.
httplib has no readline and will block on read(x) until x is read, so we have to do the work ourselves. A bit of this is taken from Python’s httplib itself.
Sends a DELETE subrequest with the given information.
Sends a PUT subrequest for the url_path using the source df (DiskFile) and content_length.
Handles the sender-side of the UPDATES step of an SSYNC request.
Full documentation of this can be found at Receiver.updates().