Read CurrentSize from CurrentItem rather than worker

Authored by klode on Jun 19 2019, 9:59 AM.

Description

Read CurrentSize from CurrentItem rather than worker

APT 1.9.0 moves CurrentSize to items, so we use CurrentItem
for now - but that should go away so we can have multiple
current items for http/2 later.

Details

Committed
klodeJun 19 2019, 10:08 AM
Differential Revision
D21896: Port to APT 1.9.0
Parents
R548:2e7d9dff47c9: worker: Include unistd.h for usleep()
Branches
Unknown
Tags
Unknown