Disable message dispatching when send rule result is not known
authorJacek Bukarewicz <j.bukarewicz@samsung.com>
Fri, 28 Nov 2014 11:07:39 +0000 (12:07 +0100)
committerAdrian Szyndela <adrian.s@samsung.com>
Fri, 19 Feb 2016 10:53:05 +0000 (11:53 +0100)
commit45ba968436b10e4e0238cb67d76c770e1deabe5b
tree5effc19f7b645f96f0b054005639b23ada4693a6
parent04f201e0fc3d81113113fff490e279d5d7eec5c5
Disable message dispatching when send rule result is not known

When unicast message to addressed recipient is sent and policy result
is not available message dispatch from the sender is disabled.
This also means that any further messages from the given connection are
put into the incoming queue. If response is received message dispatching
is resumed. This time answer is expected to be in cache so the message is
processed synchronously.
Receive rule result unavailability is not yet handled - such messages are
rejected. Also, if message is sent to non-addressed recipient message
is silently dropped.

Change-Id: Ia45905baf667ca42f386c1def108eca190d615bb
bus/activation.c
bus/check.c
bus/check.h
bus/dispatch.c
bus/dispatch.h
bus/driver.c
dbus/dbus-connection-internal.h
dbus/dbus-connection.c
dbus/dbus-list.c
dbus/dbus-list.h
dbus/dbus-shared.h