mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Don't invoke callback funcition directly.
This commit is contained in:
@@ -75,7 +75,7 @@ public:
|
||||
else if (mBuffer.empty())
|
||||
{ // must be plain
|
||||
mSecure = false;
|
||||
cbFunc(error_code());
|
||||
mSocket->get_io_service().post(boost::bind(cbFunc, error_code()));
|
||||
}
|
||||
else
|
||||
{ // autodetect
|
||||
|
||||
Reference in New Issue
Block a user