icinga2/lib
Yonas Habteab 25bbac1677 Don't abruptly close anonymous connections
This was mistakenly introduced with PR #7686 due to too many open
connections (#7680). This was wrong in the sense that closing the
connection is simply out of place here and should have been handled
differently. After we revised the RPC connection disconnect procedure
with `v2.14.4`, it becomes clear why it is wrong, because the connection
is closed abruptly before the corresponding response (`result`) has
even been written. Now if you remove the disconnect here, shouldn't the
issue #7680 occur again, you ask? The answer is no, because we now also
have a maximum timeout of `10s` for anonymous connections, after which
they are automatically closed. Thanks to the introduction of this
timeout by @julianbrost in #8479, this `Disconnect()` call has become
superfluous.
2025-01-30 17:45:27 +01:00
..
base Merge pull request #10137 from Icinga/win-progfiles-icinga2-var 2025-01-16 12:02:33 +01:00
checker Explicitly stop started timers and wait for them 2023-04-14 14:52:04 +02:00
cli Merge pull request #7799 from Icinga/bugfix/file-end 2023-08-25 11:06:19 +02:00
compat Explicitly stop started timers and wait for them 2023-04-14 14:52:04 +02:00
config ConfigItem::CommitNewItems(): pre-sort types by their load dependencies once 2024-09-20 16:18:12 +02:00
db_ido Update object#config_hash after all relations queries 2024-05-22 13:39:30 +02:00
db_ido_mysql Merge pull request #9732 from Icinga/silence-compiler-warnings-in-code-we-don-t-maintain 2025-01-15 16:33:24 +01:00
db_ido_pgsql Merge pull request #9732 from Icinga/silence-compiler-warnings-in-code-we-don-t-maintain 2025-01-15 16:33:24 +01:00
icinga Merge pull request #9861 from ymartin-ovh/issue-9752 2025-01-07 14:12:03 +01:00
icingadb Merge pull request #9732 from Icinga/silence-compiler-warnings-in-code-we-don-t-maintain 2025-01-15 16:33:24 +01:00
livestatus Centralise default icinga.* and env.* macros 2023-02-17 15:33:36 +01:00
methods Move Timeout instances from heap to stack 2025-01-07 18:20:50 +01:00
mysql_shim Silence compiler warnings in code we don't maintain 2025-01-14 11:48:33 +01:00
notification Explicitly stop started timers and wait for them 2023-04-14 14:52:04 +02:00
perfdata Add closing quotationmarks in Validator for influxdb writer config 2024-09-25 13:03:00 +02:00
pgsql_shim Silence compiler warnings in code we don't maintain 2025-01-14 11:48:33 +01:00
remote Don't abruptly close anonymous connections 2025-01-30 17:45:27 +01:00
CMakeLists.txt Rename ICINGA2_WITH_REDIS to ICINGA2_WITH_ICINGADB 2019-11-02 14:00:24 +01:00