Increase task context stack from 64K to 8*64K to prevent the stack from overflowing in the p2p code.

This commit is contained in:
dnotestein 2014-06-16 16:55:19 -04:00
parent 0c0a53541a
commit bf9bd5a9f6

View file

@ -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