]> granicus.if.org Git - icinga2/commit
Rewrite error handling in HttpServerConnection#EnsureValidHeaders() 7486/head
authorMichael Friedrich <michael.friedrich@icinga.com>
Fri, 6 Sep 2019 12:19:53 +0000 (14:19 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Mon, 9 Sep 2019 09:03:21 +0000 (11:03 +0200)
commitc5aa9789124ebd50f96fb6335359cfa9f0d64b00
treeb27ec639046adda1b7c181bdb3430ae3b635e731
parent5aa5ab956d670e8a0e957dc6423cd8128fa19ae8
Rewrite error handling in HttpServerConnection#EnsureValidHeaders()

Throwing local exceptions unnecessarily pollutes the exception
stack with immediate unwinding. Avoid this pattern at all cost within
Boost.Coroutines. MSVC may handle exceptions differently and cause
problems with stack unwinding.

refs #7431
refs #7351
lib/remote/httpserverconnection.cpp