From ab7550947aeca6af54f94d310665aabc31af5227 Mon Sep 17 00:00:00 2001 From: guanqun Date: Mon, 30 Mar 2015 09:26:05 +0800 Subject: [PATCH] setup the correct buffer size --- AddressBook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AddressBook.cpp b/AddressBook.cpp index 609b9aa7..ff410ba5 100644 --- a/AddressBook.cpp +++ b/AddressBook.cpp @@ -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) {