mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-07-28 14:29:49 +00:00
pass bytes_transferred to AsyncSend callback
This commit is contained in:
@@ -962,7 +962,7 @@ namespace stream
|
||||
else
|
||||
{
|
||||
if (handler)
|
||||
handler(boost::system::error_code ());
|
||||
handler(boost::system::error_code (), 0);
|
||||
return;
|
||||
}
|
||||
Send (std::move (buffer));
|
||||
|
||||
Reference in New Issue
Block a user