]> granicus.if.org Git - icinga2/commit
Ensure that API/JSON-RPC messages in the same session are processed and not stalled
authorMichael Friedrich <michael.friedrich@icinga.com>
Mon, 29 Oct 2018 11:57:24 +0000 (12:57 +0100)
committerMichael Friedrich <michael.friedrich@icinga.com>
Mon, 12 Nov 2018 16:07:38 +0000 (17:07 +0100)
commit46ed01348c576e8c63c27ff8f0c88795f0d57b3f
tree6e0edb04e7626d298cc7bb70be00934989b2dd90
parentec939373d078a5583138c4cc8515436b08475419
Ensure that API/JSON-RPC messages in the same session are processed and not stalled

This basically drops the "corked" implementation which just stalled the
TLS IO polling after some requests. If you need sort of rate limiting
for these events, use an external TLS proxy which terminates that in front
of Icinga.

fixes #6635
lib/base/stream.cpp
lib/base/stream.hpp
lib/base/tlsstream.cpp
lib/base/tlsstream.hpp
lib/remote/httpserverconnection.cpp
lib/remote/jsonrpcconnection.cpp