summaryrefslogtreecommitdiff
path: root/lib/server
Commit message (Collapse)AuthorAge
* Set process title on Windows.Chris Wilson2013-08-25
| | | | | | Thanks to Arnaud for submitting the patch: "I propose a little patch to enable the SetProcessTitle function on windows system."
* Pass std::auto_ptr objects to Protocol for upload.Chris Wilson2013-08-22
| | | | | | | | | | | Passing raw pointers is bad C++ style, and dangerous, because Protocol will free the passed-in pointers after uploading them, so we should not keep using them. Reduce code duplication in BackupClientDirectoryRecord patch/normal upload. Return a std::auto_ptr<BackupStoreFileEncodeStream> instead of a std::auto_ptr<IOStream> from BackupStoreFile::EncodeFile* functions.
* Add a ToString() method on protocol objects, to help with debugging them.Chris Wilson2013-08-21
|
* Fix missing space in log message.Chris Wilson2012-11-17
|
* Fix typo.Chris Wilson2012-06-07
|
* Defend against exceptions during logging, e.g. CipherException if filename ↵Chris Wilson2012-04-28
| | | | decrypt fails.
* Move LogError out of server/SSLLib so we can use it in Crypto.Chris Wilson2012-04-28
|
* Hopefully fix TcpNice setsockopt/struct tcp_info compile errors on Windows.Chris Wilson2012-03-16
|
* Initialise the EWMA rate average to 0, and comment on variables in log message.Chris Wilson2012-02-12
|
* Add experimental "TCP Nice" mode, disabled by default.Chris Wilson2012-02-12
|
* Store more details in protocol exceptions to help with debugging.Chris Wilson2012-02-02
|
* Catch trying to send a zero-length stream, which will cause an assertion ↵Chris Wilson2012-01-22
| | | | failure on the other side.
* Improve logging of socket errors (create, bind, accept, and poll)Chris Wilson2012-01-22
|
* Split option processing out of Daemon::Main() to ease use of Daemon class in ↵Chris Wilson2012-01-22
| | | | tests.
* Add remote host and port to post-login login message, requested by Pete Jalajas.Chris Wilson2011-12-13
|
* Improve error message on bbackupd command socket bind failure, thanks to ↵Chris Wilson2011-10-31
| | | | Christophe.
* Avoid recompiling everything on MSVC when BoxVersion.h changes.Chris Wilson2011-10-25
|
* Output the names of protocol files being written.Chris Wilson2011-08-28
|
* Finish renaming auto-generated classes to fix compilation errors.Chris Wilson2011-08-28
|
* Combine client and server protocols to make way for an offline/local protocol.Chris Wilson2011-08-27
| | | | | Rename ProtocolObject to Message.
* Link lib/server with qdbm and include the QDBM version in the daemon banner.Chris Wilson2011-04-22
|
* Include <process.h> to get a definition for getpid() from the Windows CRT,Chris Wilson2011-04-20
| | | | | to replace the emulated one in emu.cpp.
* Pass a C++ string instead of a char pointer for efficiency.Chris Wilson2011-03-27
|
* Finish enabling the file logging option for daemons.Chris Wilson2010-11-17
|
* Add log file logging to all daemons.Chris Wilson2010-11-17
|
* Fix compile on Debian Squeeze with libbsd-dev and libedit-dev installed,Chris Wilson2010-09-13
| | | | | | thanks to Dave Bamford for reporting and debugging. (merges [2734] from 0.11)
* Log the invalid log level.Chris Wilson2010-08-31
|
* It's not an error to be interrupted by a signal while waiting for an Chris Wilson2010-08-27
| | | | | | incoming connection. This is the normal way to shut down or reload bbackupd.
* Replace BOX_FILE_BBACKUPD_DEFAULT_CONFIG with Chris Wilson2010-06-06
| | | | | BOX_GET_DEFAULT_BBACKUPD_CONFIG_FILE.
* Run Perl scripts quietly during make.Chris Wilson2010-01-24
|
* Revert the quotes part of [2588] as it breaks the unit tests.Chris Wilson2010-01-24
| | | | | Make LocalProcessStream constructor take a std::string& for C++ style.
* Add debugging for child processes terminating normally or abnormally,Chris Wilson2009-11-24
| | | | | | | as Brendon Baumgartner reported symptoms that sound like a bbstored child process crashing, and nothing in the logs indicates what happened to it.
* Fixes for gcc 4.4.Martin Ebourne2009-04-23
|
* Include missing Utils.h header, needed for FileExists().Chris Wilson2009-04-09
|
* Change default location for config files from /etc/box to Chris Wilson2009-04-09
| | | | | /etc/boxbackup, thanks to Reinhard Tartler and the Debian Project.
* Hopefully fix compile error reported by Mirko on cross-compiler.Chris Wilson2009-03-29
|
* Add ability to specify a named log facility for syslog loggins, Chris Wilson2009-03-24
| | | | | requested by Kenny Millington.
* Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 toChris Wilson2009-03-21
| | | | | 64 bits.
* Fix crash when freebsd (maybe *bsd) returns ECONNRESET on close(), whichChris Wilson2009-03-15
| | | | | | | | presumably means that the socket is already closed, causing bbackupd test to fail. Thanks to Victor Meirans for reporting the problem. See http://wiki.powerdns.com/cgi-bin/trac.fcgi/changeset/1280 and http://wiki.powerdns.com/cgi-bin/trac.fcgi/ticket/192 for example.
* Change socket type from int to Socket::Type enum.Chris Wilson2009-01-03
|
* Reset read and write closed state of a socket after Open() and Attach().Chris Wilson2009-01-03
|
* Change use of int to identify a socket type to the proper enum.Chris Wilson2009-01-03
|
* Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as Chris Wilson2008-12-30
| | | | | | well (e.g. wxWidgets) and it causes conflicts which are difficult to resolve.
* Grammar fix in SSL error message when SSL library initialisation fails.Chris Wilson2008-12-05
|
* Use the same ostringstream formatting for protocol logging to fileChris Wilson2008-10-29
| | | | | | that we use for standard logging, to fix 64bit platform warnings reported by Matt Brown.
* Silence warnings from openbsd gcc by using strncpy instead of strcpy.Chris Wilson2008-10-26
|
* Fix compile errors on Debian Lenny, reported by Torsten.Chris Wilson2008-10-17
|
* Don't blindly use an undefined symbol in #if.Chris Wilson2008-10-11
|
* Use getpeerucred() to identify connecting socket clients on Solaris,Chris Wilson2008-10-11
| | | | | | | | and silence warnings that the peer cannot be identified on this platform. Remove another use of uname -o which doesn't work on Solaris.
* Use Windows Crypto API to seed the random number generator, and removeChris Wilson2008-10-08
| | | | | warning that it hasn't been seeded on Windows.