zhllxt / asio2

Header only c++ network library, based on asio,support tcp,udp,http,websocket,rpc,ssl,icmp,serial_port,socks5.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

使用例程中的http服务,建立websocket连接时发生Assertion failed

supf1994 opened this issue · comments

将asio2\example\http\server中的http服务例程编译,当采用debug启动时,在建立websocket连接时将会发生Assertion failed,而采用release时便可以正常运行

Assertion failed: derive.sessions().io().strand().running_in_this_thread(), file D:\Develop\Lib\asio2\asio2\http\component\ws_stream_cp.hpp, line 83

这是一个BUG,develop分支的代码早前已经修复过这个问题。

使用develop分支的代码,这个分支持续在更新并修复了很多问题,以后会用develop分支代码发布release版。