Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Add support for uint16 types to Archive | Chris Wilson | 2015-09-19 |
| | |||
* | Add logging to S3Client about connection reuse | Chris Wilson | 2015-08-29 |
| | |||
* | Set network timeout in S3Client. | Chris Wilson | 2015-08-29 |
| | | | | To give the S3Simulator a chance to respond. | ||
* | Improve exception messages in HTTPRequest as well | Chris Wilson | 2015-08-29 |
| | |||
* | Fix warnings when compiling with MinGW64 headers. | Chris Wilson | 2015-08-29 |
| | | | | | | These headers define things that aren't defined by MinGW32 or MSVC, so make the definitions in emu.h conditional (feature detection). | ||
* | Disable HTTP keepalive for now because we don't support it properly | Chris Wilson | 2015-08-29 |
| | |||
* | Increase S3Simulator HTTP timeout to aid debugging | Chris Wilson | 2015-08-29 |
| | |||
* | Improve exception messages when reading an HTTPResponse | Chris Wilson | 2015-08-29 |
| | |||
* | Fix check for existing BackupStoreInfo file on S3 stores | Chris Wilson | 2015-08-29 |
| | |||
* | Whitespace, import order and comment fixes | Chris Wilson | 2015-08-29 |
| | |||
* | Allow verifying a BackupStoreFile without closing underlying stream | Chris Wilson | 2015-08-29 |
| | |||
* | Add missing header include. | Chris Wilson | 2015-08-23 |
| | | | | | Fixes compilation on Windows. | ||
* | Reset NamedLock file descriptor immediately after closing. | Chris Wilson | 2015-08-15 |
| | | | | | | Otherwise, if we fail to unlink the lockfile, we will try to close it again, which will fail because it's already closed, and we'll never get around to unlinking it. | ||
* | Whitespace, layout and comment cleanups. | Chris Wilson | 2015-08-15 |
| | |||
* | Add configurable timeouts and HEAD request support to S3 client. | Chris Wilson | 2015-08-15 |
| | | | | Allow getting the Content-Length of an HTTPResponse object. | ||
* | Improve exception handling on backup store side. | Chris Wilson | 2015-08-15 |
| | | | | | | | | | | | | | | | | Add a new exception code to represent an object being completely missing (not found on the store at all), separate from not being found in a particular directory. Improve mapping of server-side exceptions to protocol error messages returned to the client. Add handling for missing exceptions, such as BackupStoreException::PatchChainInfoBadInDirectory, and the new BackupStoreException::ObjectDoesNotExist. Fix mapping for BackupStoreException::CouldNotFindEntryInDirectory to make it distinguistable from BackupStoreException::ObjectDoesNotExist. | ||
* | Fix memory leak tracking of calloc() allocations | Chris Wilson | 2015-08-08 |
| | |||
* | Add a BackupStoreFile encoding streaming verifier | Chris Wilson | 2015-08-07 |
| | |||
* | Allow moving a CollectInBufferStream's contents to another one | Chris Wilson | 2015-08-07 |
| | |||
* | Allow releasing a MemoryBlockGuard | Chris Wilson | 2015-08-07 |
| | |||
* | Whitespace cleanup | Chris Wilson | 2015-08-07 |
| | |||
* | Handle generic exceptions by returning an Error message with correct Type. | Chris Wilson | 2015-08-06 |
| | |||
* | Improve error message when TEST_PROTOCOL_ERROR_OR() fails. | Chris Wilson | 2015-08-06 |
| | | | | | | The protocol command didn't succeed, it just returned a result with an unexpected type, so make the failure message reflect that and give details of the response actually received, to help with debugging. | ||
* | Fix return types for integer function to be integers | Chris Wilson | 2015-08-06 |
| | |||
* | Shorten minimum sleep while waiting for test daemons to die | Chris Wilson | 2015-08-06 |
| | |||
* | Fix StartClient() to store new pid correctly | Chris Wilson | 2015-08-06 |
| | |||
* | Compile fix | Chris Wilson | 2015-07-31 |
| | |||
* | Add S3Store account creation. | Chris Wilson | 2015-07-31 |
| | |||
* | Fix ServerStream logging too many messages when waiting for a child to die. | Chris Wilson | 2015-07-31 |
| | | | | Detect that there are no remaining children to wait for, and return quietly. | ||
* | Fix S3Simulator daemon name, and hence memleaks filename. | Chris Wilson | 2015-07-31 |
| | |||
* | Add HTTP request logging to S3Simulator. | Chris Wilson | 2015-07-31 |
| | |||
* | Add a method on S3Client to check HTTPResponse for errors. | Chris Wilson | 2015-07-31 |
| | | | | Throws a suitable exception if the response status code is not 200 OK. | ||
* | Fix S3Client handling of "Connection: close" responses. | Chris Wilson | 2015-07-31 |
| | | | | | We can't continue to use the same connection after receiving such a response, so close it immediately. | ||
* | Add utility methods to HTTPRequest and HTTPResponse classes. | Chris Wilson | 2015-07-31 |
| | | | | | Allow getting method name of an HTTPRequest, and connection open/closed status of an HTTPResponse. | ||
* | Refactor to allow sharing code for starting and stopping daemons in tests. | Chris Wilson | 2015-07-31 |
| | | | | | The new StartDaemon() and StopDaemon() in ServerControl.cpp/h are generic, and used by StartClient() and StartServer() in StoreTestUtils.cpp/h. | ||
* | Move InvalidConfiguration exception to CommonException. | Chris Wilson | 2015-07-31 |
| | | | | Allows it to be used by S3Store, or in fact anything that uses Configuration. | ||
* | Refactor BackupStoreInfo to allow creating them without RaidFiles. | Chris Wilson | 2015-07-31 |
| | | | | | They can now be created using a constructor, and written to any IOStream. Needed for writing them to an S3Store. | ||
* | Add AccountNumber to list of config keys checked at runtime. | Chris Wilson | 2015-07-31 |
| | | | | S3Stores don't have account numbers. | ||
* | Move load_config_file to Test.cpp to allow reuse. | Chris Wilson | 2015-07-25 |
| | |||
* | Remove duplicate declaration of test functions. | Chris Wilson | 2015-07-25 |
| | |||
* | Refactor BackupStoreInfo to allow loading from any IOStream. | Chris Wilson | 2015-07-19 |
| | |||
* | Major test refactor to support test suites. | Chris Wilson | 2015-07-01 |
| | | | | | | | Refactor all common code from testbbackupd and testbackupstore to allow other test suites to contain multiple tests and execute selected tests more easily. Report all test results within a suite in a standard, easy to read summary. | ||
* | Add configuration keys for S3 store type. | Chris Wilson | 2015-06-28 |
| | |||
* | Refactor store account control to allow other store types. | Chris Wilson | 2015-06-28 |
| | | | | | Move common code into a base class, leaving bbstored-specific code. Add skeleton of an S3 store type. | ||
* | Refactor to allow non-bbstored store configurations. | Chris Wilson | 2015-06-28 |
| | | | | | | Make some keys not required in BackupDaemonConfigVerify, and verify them afterwards instead, when the rest of the configuration file has been read (and in future, the store type would be known.) | ||
* | Allow MemoryBlockGuard to guard a block passed in (already malloced). | Chris Wilson | 2015-06-10 |
| | |||
* | Add support for optional items in Archives. | Chris Wilson | 2015-06-10 |
| | | | | | If the item is not present (the end of the Archive is reached instead) then a default value is returned instead of throwing an exception. | ||
* | Add missing timeouts to Archive Read() calls. | Chris Wilson | 2015-06-10 |
| | |||
* | Fix logging of NamedLock acquisition for O_EXLOCK method. | Chris Wilson | 2015-06-10 |
| | |||
* | Add usage example for -L option, showing how module names were compiled in | Chris Wilson | 2015-06-10 |
| |