Increase task context stack from 64K to 8*64K to prevent the stack from overflowing in the p2p code.
This commit is contained in:
parent
0c0a53541a
commit
bf9bd5a9f6
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ namespace fc {
|
|||
{
|
||||
#if BOOST_VERSION >= 105400
|
||||
bco::stack_context stack_ctx;
|
||||
size_t stack_size = bco::stack_allocator::default_stacksize();
|
||||
size_t stack_size = bco::stack_allocator::default_stacksize() * 8;
|
||||
alloc.allocate(stack_ctx, stack_size);
|
||||
my_context = bc::make_fcontext( stack_ctx.sp, stack_ctx.size, sf);
|
||||
#elif BOOST_VERSION >= 105300
|
||||
|
|
|
|||
Loading…
Reference in a new issue