swift/test/unit
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 Set content-type on account/container head 2012-11-05 12:59:16 -08:00
common Merge "use Host: for location rewrites" 2012-11-09 00:09:33 +00:00
container Set content-type on account/container head 2012-11-05 12:59:16 -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 changed TRUE_VALUES references to utils.config_true_value() call 2012-10-29 13:59:01 -07:00