mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-11-23 04:58:12 +00:00
pass bytes_transferred to AsyncSend callback
This commit is contained in:
1 parent
a2e82fc23a
commit
92ec218a8d
5 files changed
+9
-13
No files matched your search
@@ -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