Fix: (1) Windows stack overflow due to buffer too large in peer deserialize, (2) clean up some other stuff seen during debugging and reduce the sizes of some buffers due to Windows small stack size, (3) remove a redundant try/catch.
This commit is contained in:
parent
90f9415107
commit
0d9f33dc4f
12 changed files with 103 additions and 97 deletions
|
@ -206,7 +206,7 @@ skip_add_inetaddr:
|
|||
|
||||
bool OSUtils::readFile(const char *path,std::string &buf)
|
||||
{
|
||||
char tmp[4096];
|
||||
char tmp[1024];
|
||||
FILE *f = fopen(path,"rb");
|
||||
if (f) {
|
||||
for(;;) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue