Browse Source

setup the correct buffer size

pull/170/head
guanqun 10 years ago
parent
commit
ab7550947a
  1. 2
      AddressBook.cpp

2
AddressBook.cpp

@ -465,7 +465,7 @@ namespace client @@ -465,7 +465,7 @@ namespace client
auto stream = i2p::client::context.GetSharedLocalDestination ()->CreateStream (leaseSet, u.port_);
stream->Send ((uint8_t *)request.str ().c_str (), request.str ().length ());
uint8_t buf[4095];
uint8_t buf[4096];
bool end = false;
while (!end)
{

Loading…
Cancel
Save