在 WebSocket++ 中关闭连接后出错

Error after closing connection in WebSocket++

我知道了:

[info] asio async_read_at_least error: system:10058 (A request to send or receive data was disallowed because the socket had already been shut down in that direction with a previous shutdown call)
[error] handle_read_frame error: websocketpp.transport:2 (Underlying Transport Error)

在 WebSocket++ 库中通过 服务器(不是浏览器客户端)关闭连接后。服务器仍然工作,但我该如何解决这个错误?

服务器代码: http://pastebin.com/acbrjLvF

通过在处理程序上调用 m_server.close 之前添加 m_server.pause_reading(handler) 来修复它。