swift/swift
Samuel Merritt 83bbd0aef2 Fix lazy-listing of object segments.
When responding to a GET request for a manifest, it was intended that
the proxy server lazily fetch the pieces of the container
listing. That way, a single client request doesn't immediately turn
into a bunch of requests to backends. The additional requests should
only get made if the client is putting in the work of receiving the
object body.

However, commit 156f27c accidentally changed this so that all the
pieces of the container listing are eagerly fetched up-front. Better
yet, if an object has more than CONTAINER_LISTING_LIMIT (default
10,000) segments, the container listing is then fetched a second time,
albeit lazily, while streaming out the response.

This commit restores the laziness and adds tests for it.

Change-Id: I49840a7059e6f999ce19199ecb10cdb77358526b
2012-11-16 13:12:58 -08:00
..
account statsd timing refactor 2012-11-06 15:39:25 -08:00
common Merge "Make swift-bench use less memory with large object sizes." 2012-11-09 21:33:32 +00:00
container statsd timing refactor 2012-11-06 15:39:25 -08:00
obj Make DELETE requests to expired objects return 404. 2012-11-08 15:27:24 -08:00
proxy Fix lazy-listing of object segments. 2012-11-16 13:12:58 -08:00
__init__.py 1.7.6 version bump 2012-11-06 19:38:26 -08:00