diff options
author | Chris Wilson <chris+github@qwirx.com> | 2006-11-26 19:47:49 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2006-11-26 19:47:49 +0000 |
commit | c05cc844114f1f2289432a9ec220e6c527adbf66 (patch) | |
tree | 8eb251aa52cc3316a2599839e966e18879966a21 /bin/bbstored/BackupStoreDaemon.h | |
parent | 042f6b6802eca9249670ae30919d5a398a1cc97d (diff) |
Catch any exceptions while handling a connection and report to user
rather than terminating. Useful for non-forking servers like bbstored on
Windows. (refs #3)
Diffstat (limited to 'bin/bbstored/BackupStoreDaemon.h')
-rw-r--r-- | bin/bbstored/BackupStoreDaemon.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/bbstored/BackupStoreDaemon.h b/bin/bbstored/BackupStoreDaemon.h index 0ce6f21f..eea47284 100644 --- a/bin/bbstored/BackupStoreDaemon.h +++ b/bin/bbstored/BackupStoreDaemon.h @@ -52,7 +52,8 @@ protected: virtual void Run(); - void Connection(SocketStreamTLS &rStream); + virtual void Connection(SocketStreamTLS &rStream); + void Connection2(SocketStreamTLS &rStream); virtual const char *DaemonName() const; virtual const char *DaemonBanner() const; |