summaryrefslogtreecommitdiff
path: root/lib/server
Commit message (Collapse)AuthorAge
* Catch exceptions thrown by closing the WinNamedPipeStream during shutdownChris Wilson2007-03-10
| | | | | and suppress them. (refs #3, merges [1284])
* Compile fix for RHEL4 ([NICK]) (refs #3)Chris Wilson2007-01-16
|
* Add option parsing with getopt()Chris Wilson2007-01-15
| | | | | | | | | | | Add "-D" flag as SINGLEPROCESS equivalent Add "-q" and "-v" options to control master logging level Log fatal errors as FATAL rather than ERROR Log daemon start and stop as NOTICE rather than INFO (refs #3)
* Spacing (refs #3)Chris Wilson2007-01-14
|
* Convert Daemon class to new logging framework (refs #3)Chris Wilson2007-01-12
|
* Add missing newlines to protocol logging to a file (refs #9)Chris Wilson2006-11-26
|
* * Allow Daemons to be created more than once per processChris Wilson2006-11-26
| | | | | | | * Don't initialise signal handler until after fork, in case the parent is actually a unit test or another complex application * Don't exit(0) in the parent, for the same reason (refs #9)
* Fixed typo (refs #3)Chris Wilson2006-11-13
|
* Fix memory leak when TLSContext is reinitialised (refs #3)Chris Wilson2006-11-13
|
* Reinstate ifdefs around code that should be disabled on Win32 (fake fork()Chris Wilson2006-10-18
| | | | | | | seems to be a bad idea). Comment spelling fixes. (refs #3)
* Update description with another possible cause of this errorChris Wilson2006-10-18
|
* Use more accurate sleeps in poll() to ensure that we don't end up busyChris Wilson2006-10-16
| | | | | | waiting for the last fraction of a second with repeated poll(..., 0). (refs #3)
* Use -1 for INVALID_SOCKET_HANDLE to ensure that it's always less than zero,Chris Wilson2006-10-16
| | | | | | | | so that non-conditional code in SocketStream.cpp works properly. Add a method to determine if a socket stream has been attached to a socket yet. (refs #3)
* Implement LocalProcessStream on Win32. (refs #3)Chris Wilson2006-10-16
|
* Use overlapped I/O to avoid blocking.Chris Wilson2006-10-16
| | | | | | Use INVALID_HANDLE_VALUE instead of NULL everywhere to avoid bugs, and for type safety. (refs #3)
* Use BoxPlatform to see if we are building on Windows (refs #3)Chris Wilson2006-10-14
|
* (refs #3)Chris Wilson2006-08-31
| | | | | Added support for non-blocking sockets on Win32 as well
* Revert to trunkChris Wilson2006-08-31
|
* Use INVALID_SOCKET_VALUE instead of -1Chris Wilson2006-08-31
|
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | | Define a suitable constant for invalid socket handles, for use in SocketStream.cpp
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | | | | Added an OnIdle method which can be overridden by subclasses for idle tasks. Used for housekeeping on Win32. Avoid forking on Win32, and trying to clean up after children.
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | 64-bit format fixes (Win32)
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | | | Initialise Windows sockets automatically for all daemons on Win32 Write PID files on Win32
* Revert to trunkChris Wilson2006-08-31
|
* * lib/win32/WinNamedPipeStream.hChris Wilson2006-08-09
| | | | | | | | | * lib/win32/WinNamedPipeStream.cpp * lib/server/WinNamedPipeStream.h * lib/server/WinNamedPipeStream.cpp - Moved WinNamedPipeStream class from lib/win32 to lib/server, to resolve circular dependency between lib/common and lib/win32.
* * mergeChris Wilson2006-07-27
| | | | | | | - 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).
* This is part 2 of a patch from James O'Gorman.Martin Ebourne2006-03-04
| | | | | This just renames all of the files that configure now substitutes - no changes to any of the files.
* This is part 1 of a patch from James O'Gorman.Martin Ebourne2006-03-04
| | | | | configure now detects perl executable location and updates all scripts to use the correct path; also adds PERL_EXECUTABLE define to BoxConfig.h. makebuildenv.pl adds PERL define to all makefiles.
* Bandwidth usage logging patch from Pascal Lalonde <plalonde@overnet.qc.ca>, ↵Ben Summers2006-02-13
| | | | with minor change to exception handling
* Merge chris/win32/vc2005-compile-fixes @ r455, add infrastructure/msvc to ↵Ben Summers2006-02-13
| | | | distribution
* Merge chris/bb-save-state, resolving conflictsBen Summers2006-01-30
|
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Marged chris/win32/merge/07-win32-fixes at r210 to trunkMartin Ebourne2005-12-12
|
* Merged martin/autoconf at r35 to trunkMartin Ebourne2005-12-07
|
* Build under DarwinBen Summers2005-12-01
|
* Merged martin/solaris at r9 to trunkMartin Ebourne2005-11-30
|
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14