commit | c87bbf8d7ff5b6f6e2084e4f7e4f81750bac8d71 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Thu Jun 05 08:10:56 2014 +0300 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Fri Jun 06 07:36:54 2014 +0300 |
tree | 2e3124009d69f3e6ec30f3e51579304fa3a4623d | |
parent | b56c5b91e9f800dab435ed7784b62e77fb93bd49 [diff] |
face: "Closing" WebSocket face when WebSocket tunnel closes Change-Id: Ief2d643b09469eac7fc92aa5139e41bcb8d1e210 Refs: #1637
diff --git a/daemon/face/websocket-channel.cpp b/daemon/face/websocket-channel.cpp index f409dc9..5cf98f6 100644 --- a/daemon/face/websocket-channel.cpp +++ b/daemon/face/websocket-channel.cpp
@@ -89,6 +89,7 @@ ChannelFaceMap::iterator it = m_channelFaces.find(hdl); if (it != m_channelFaces.end()) { + it->second->close(); NFD_LOG_DEBUG("handleClose: remove client"); m_channelFaces.erase(it); }