setup the correct buffer size

pull/170/head
guanqun 9 years ago
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…
Cancel
Save