s4:messaging: let imessaging_client_init() use imessaging_init_discard_incoming()
commit266bcedc18efc52e29efde6bad220623a5423e30
authorStefan Metzmacher <metze@samba.org>
Wed, 28 Sep 2022 12:27:09 +0000 (28 14:27 +0200)
committerRalph Boehme <slow@samba.org>
Thu, 13 Oct 2022 13:32:30 +0000 (13 13:32 +0000)
treebdba534337b6f94c4dda18ce1cd0f9b5259d04b2
parent32df5e4961cf064b72bb496157cc6092126d9b8e
s4:messaging: let imessaging_client_init() use imessaging_init_discard_incoming()

imessaging_client_init() is for temporary stuff only, so we should drop
(unexpected) incoming messages unless we expect irpc responses.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15201

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Oct 13 13:32:30 UTC 2022 on sn-devel-184
source4/lib/messaging/messaging.c