commit | 251f3c1317465176893d89cb76305b833c94c32e | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Mon Jun 02 18:39:58 2014 +0300 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Tue Jun 03 18:37:04 2014 +0300 |
tree | ea9ec2ff1dc262a43775b89bad7f38681280535d | |
parent | f4e89b40004daf757777d532e6f7dfee618cbaf6 [diff] [blame] |
face: fire onFail event on WebSocket and Ethernet face close Change-Id: I3d24c7b2e5003253ff04dab68ec1a2cb37b7d023 Refs: #1637
diff --git a/daemon/face/websocket-face.cpp b/daemon/face/websocket-face.cpp index 4712cfc..5dfe516 100644 --- a/daemon/face/websocket-face.cpp +++ b/daemon/face/websocket-face.cpp
@@ -64,6 +64,8 @@ m_closed = true; websocketpp::lib::error_code ecode; m_server.close(m_handle, websocketpp::close::status::normal, "closed by nfd", ecode); + + onFail("Face closed"); } }