|
Boost Users : |
Subject: Re: [Boost-users] [Coroutine] Assertion when coroutine is not run
From: Brian Ravnsgaard Riis (brian_at_[hidden])
Date: 2014-03-10 08:03:25
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2014-03-10 09:35, Oliver Kowalke wrote:
> could you provide a complete application/code demonstrating your
> problem?
Sure. See attached.
I'm parsing an extremely simple HTTP subset in the example. If there's
no message content (i.e. Content-Length: 0) then there is no point in
calling that parser.
I can of course merge the two coroutines without problems, which will
be fine for my use-cases. However, I fail to understand why I get the
assertion at all, when I don't call the coroutine. Some basic
mechanics I haven't quite caught yet, I guess.
/Brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTHaoNAAoJEFES4N8QrEodTeYH/1MKF1OSMASJ0Y4QHgcFhTcW
WJFC+mSiB+PHC5wzdOG/LRoM3t6ToIrK/H/DgvTbWVdun8ui1oDIeW014aL5UnL2
55DnYbGT4DJWZe5Lxxd3lu2O0DkoaVTTsEDj1SYOR6eLUbA1mOC7A+6W7Doixh2U
OfF6yoWB6bco3JN90YUUkD5CzT0JgBS0oPhLvSu2ul2mUYsXwoCdAZdJvHaXV4vn
HmzqoJCMjyVLykNcitMI7FVjfW5c8e5/TLJfYl+rI/wVgZhza94jaSHZFaIDW0mJ
h4hXdhLjCjWy+oguVO/h+PprQ7Wjnk7dvhq+TStvzlX1hFAuXQfl2P95RwR7Ub4=
=MgB+
-----END PGP SIGNATURE-----
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net