]> granicus.if.org Git - icinga2/commit
Introduce IoEngine::SpawnCoroutine wrapping asio::spawn and Boost exceptions 7491/head
authorMichael Friedrich <michael.friedrich@icinga.com>
Fri, 6 Sep 2019 13:11:55 +0000 (15:11 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Mon, 9 Sep 2019 14:40:35 +0000 (16:40 +0200)
commit2c0e0da2d97ddb4c8b280612b1e4c02f224a90af
tree72356ebef57f73dc4a8c8f67494d6a2b216e0e49
parent0dbbba44dd90bf35bde72ecad8e0dcc843987982
Introduce IoEngine::SpawnCoroutine wrapping asio::spawn and Boost exceptions

This is required to

- catch all exceptions and wrap them into Boost exceptions. They
are the only ones allowed with Boost.Coroutine.
- set a dedicated coroutine stack size for Windows.

refs #7431
lib/base/io-engine.hpp
lib/remote/apilistener.cpp
lib/remote/httpserverconnection.cpp
lib/remote/jsonrpcconnection.cpp