| Commit message (Collapse) | Author | Age |
|
|
|
| |
Break dependendency of test/bbackupd on individual files from other modules.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We pass a std::auto_ptr<SocketStream> to every Protocol subclass when we
construct it, and it takes control of this object. This reduces the risk of:
* accidentally reusing the same SocketStream for multiple Protocols
(it happened to me in testbackupstore);
* holding onto a reference to the SocketStream;
* allowing a locally-scoped SocketStream to go out of scope and be released
while still being referenced by a live Protocol.
|
|
|
|
|
|
|
| |
Until the groundwork is prepared by changing Protocol's use of IOStream to
SocketStream.
This reverts commit 78531354753f3ce9bb3ef1d906b2aeaac5b73d58.
|
|
|
|
| |
One less reason to hang onto a Stream reference, that will go away soon.
|
|
|
|
| |
call it.
|
|
|
|
| |
requested by Pete Jalajas.
|
|
|
|
|
|
|
|
|
|
|
| |
they're wrong.
Add a callback interface to decouple housekeeping from the
BackupStoreDaemon, allowing it to be called directly in tests.
Allow housekeeping callers to request it to keep trying forever to get a
lock on the account if it's busy.
|
|
|
|
|
|
|
| |
single process mode (-D), not just on Windows.
Add a housekeeping interface to allow Boxi to run housekeeping.
|
|
|
|
|
| |
Add a TestHook to help test weird server behaviour such as crashes.
|
|
|
|
|
|
|
|
|
| |
Extend usage info with service commands in BackupDaemon.
Disable useless -D, -V and -k options on Windows.
(merges 1855])
|
| |
|
|
|
|
|
|
| |
rather than terminating. Useful for non-forking servers like bbstored on
Windows. (refs #3)
|
|
|
|
|
|
| |
- Reinstate SendMessageToHousekeepingProcess() on Win32, but make it do
nothing (refs #3)
|
|
|
|
|
|
|
| |
* bin/bbstored/BBStoreDHousekeeping.cpp
- Split housekeeping process into separate initialisation, process loop
and run methods (we don't want the process loop on Win32)
|
|
|
|
|
| |
- Removed SendMessageToHousekeepingProcess() on Win32, no longer needed
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
|
| |
- This is my current patch queue. I think that all of these are safe
to apply. This is just under half of the pending changes in
chris/general (the easy half).
|
|
|
|
| |
with minor change to exception handling
|
|
|
|
| |
You may need a new checkout to see this.
|
|
|