diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-12-21 18:32:27 -0800 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-12-21 18:32:27 -0800 |
commit | 9754372d5e4125bf5850d9cd3ae93d529efdef8d (patch) | |
tree | fc20e375256b95bbd13fecde0d85181100a198e4 /src/Socket.cc | |
parent | 9697add8b75b96662c8d39477e58d5841c4b9cba (diff) |
Preliminary WebSocket protocol support.
Diffstat (limited to 'src/Socket.cc')
-rw-r--r-- | src/Socket.cc | 1 |
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 { |