]> granicus.if.org Git - icinga2/commit
Ensure that API/JSON-RPC messages in the same session are processed and not stalled 6738/head
authorMichael Friedrich <michael.friedrich@icinga.com>
Mon, 29 Oct 2018 11:57:24 +0000 (12:57 +0100)
committerMichael Friedrich <michael.friedrich@icinga.com>
Mon, 29 Oct 2018 11:57:24 +0000 (12:57 +0100)
commit5406ce65400c07e6fd37cecc42209411acc350be
tree179ff131b4a5c7ba6e4fabd8651068f3dfc2148b
parent13e54d960d4eca08350ea4164bd77c89c18ffdee
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