mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 11:04:00 +01:00
Merge pull request #170 from guanqun/fix-wrong-buffer-size
setup the correct buffer size
This commit is contained in:
commit
6ec5858561
|
@ -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 a new issue