From fc2943ed980306244749d8d13796eaff690917b6 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 12 Apr 2010 17:50:37 +0000 Subject: Wow Myriad!! Myriad seems to work. I have to run it through a few more paces, and there are some known corner cases that I may just disallow, such as too-small block sizes. Beyond a little more testing, it's ready for production. I may switch some of my cache tests to using it now. --- src/server.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/server.cpp') diff --git a/src/server.cpp b/src/server.cpp index 80ed509..36d9d6c 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -93,8 +93,16 @@ void Bu::Server::scan() } if( FD_ISSET( j, &fdWrite ) ) { - Client *pClient = hClients.get( j ); - pClient->processOutput(); + try + { + Client *pClient = hClients.get( j ); + pClient->processOutput(); + } + catch( Bu::HashException &e ) + { + // Do nothing, I guess, the client is already dead... + // TODO: Someday, we may want to handle this more graceully. + } } } -- cgit v1.2.3