mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-26 12:41:35 +03:00
handled secure socket exception #4313
This commit is contained in:
parent
767802f111
commit
ad230d46e6
@ -18,6 +18,7 @@
|
||||
|
||||
#include "mt/Thread.h"
|
||||
|
||||
#include "net/XSocket.h"
|
||||
#include "mt/XMT.h"
|
||||
#include "mt/XThread.h"
|
||||
#include "arch/Arch.h"
|
||||
@ -158,6 +159,10 @@ Thread::threadFunc(void* vjob)
|
||||
LOG((CLOG_DEBUG1 "thread 0x%08x exit", id));
|
||||
}
|
||||
|
||||
catch (XSocket& e) {
|
||||
// client called cancel()
|
||||
LOG((CLOG_DEBUG "%s", e.what()));
|
||||
}
|
||||
catch (XThreadCancel&) {
|
||||
// client called cancel()
|
||||
LOG((CLOG_DEBUG1 "caught cancel on thread 0x%08x", id));
|
||||
|
Loading…
Reference in New Issue
Block a user