Posted
over 9 years
ago
by
chris
Add HTTP request logging to S3Simulator.
|
Posted
over 9 years
ago
by
chris
Add a method on S3Client to check HTTPResponse for errors.
Throws a suitable exception if the response status code is not 200 OK.
|
Posted
over 9 years
ago
by
chris
Fix S3Client handling of "Connection: close" responses.
We can't continue to use the same connection after receiving such a response,
so close it immediately.
|
Posted
over 9 years
ago
by
chris
Add utility methods to HTTPRequest and HTTPResponse classes.
Allow getting method name of an HTTPRequest, and connection open/closed
status of an HTTPResponse.
|
Posted
over 9 years
ago
by
chris
Refactor to allow sharing code for starting and stopping daemons in tests.
The new StartDaemon?() and StopDaemon?() in ServerControl?.cpp/h are generic,
and used by StartClient?() and StartServer?() in StoreTestUtils?.cpp/h.
|
Posted
over 9 years
ago
by
chris
Move InvalidConfiguration? exception to CommonException?.
Allows it to be used by S3Store, or in fact anything that uses Configuration.
|
Posted
over 9 years
ago
by
chris
Refactor BackupStoreInfo? to allow creating them without RaidFiles?.
They can now be created using a constructor, and written to any IOStream.
Needed for writing them to an S3Store.
|
Posted
over 9 years
ago
by
chris
Add AccountNumber? to list of config keys checked at runtime.
S3Stores don't have account numbers.
|
Posted
over 9 years
ago
by
chris
Move load_config_file to Test.cpp to allow reuse.
|
Posted
over 9 years
ago
by
chris
Remove duplicate declaration of test functions.
|