swift/test
Samuel Merritt 98d185905a Cleanup for iterators in SegmentedIterable
We had a pair of large, complicated iterators to handle fetching all
the segment data, and they were hard to read and think about. I tried
to break them out into some simpler pieces:

 * one to handle coalescing multiple requests to the same segment

 * one to handle fetching the bytes from each segment

 * one to check that the download isn't taking too long

 * one to count the bytes and make sure we sent the right number

 * one to catch errors and handle cleanup

It's more nesting, but each level now does just one thing.

Change-Id: If6f5cbd79edeff6ecb81350792449ce767919bcc
2018-02-02 11:30:49 -08:00
..
functional Merge "Add support for data segments to SLO and SegmentedIterable" 2018-02-01 12:52:55 +00:00
probe Don't make async_pendings during object expiration 2018-01-17 10:39:11 -08:00
unit Cleanup for iterators in SegmentedIterable 2018-02-02 11:30:49 -08:00
__init__.py Open-code eventlet.listen() 2017-05-11 01:39:14 -06:00
sample.conf [Trivial]Fix some type errors in ../sample.conf 2017-02-12 01:30:34 -08:00