mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-13 01:20:22 +03:00
setup the correct buffer size
This commit is contained in:
parent
f2078f6d5b
commit
ab7550947a
@ -465,7 +465,7 @@ namespace client
|
|||||||
auto stream = i2p::client::context.GetSharedLocalDestination ()->CreateStream (leaseSet, u.port_);
|
auto stream = i2p::client::context.GetSharedLocalDestination ()->CreateStream (leaseSet, u.port_);
|
||||||
stream->Send ((uint8_t *)request.str ().c_str (), request.str ().length ());
|
stream->Send ((uint8_t *)request.str ().c_str (), request.str ().length ());
|
||||||
|
|
||||||
uint8_t buf[4095];
|
uint8_t buf[4096];
|
||||||
bool end = false;
|
bool end = false;
|
||||||
while (!end)
|
while (!end)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user