summaryrefslogtreecommitdiff
path: root/src/Socket.cc
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-12-21 18:32:27 -0800
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-12-21 18:32:27 -0800
commit9754372d5e4125bf5850d9cd3ae93d529efdef8d (patch)
treefc20e375256b95bbd13fecde0d85181100a198e4 /src/Socket.cc
parent9697add8b75b96662c8d39477e58d5841c4b9cba (diff)
Preliminary WebSocket protocol support.
Diffstat (limited to 'src/Socket.cc')
-rw-r--r--src/Socket.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Socket.cc b/src/Socket.cc
index 7673c45..66dae18 100644
--- a/src/Socket.cc
+++ b/src/Socket.cc
@@ -522,6 +522,7 @@ Balau::IO<Balau::Socket> Balau::Socket::accept() throw (GeneralException) {
Task::operationYield(m_evtR, Task::INTERRUPTIBLE);
} else {
String msg = getErrorMessage();
+ m_evtR->stop();
throw GeneralException(String("Unexpected error accepting a connection: #") + errno + "(" + msg + ")");
}
} else {