cynara integration: check policy right away for both send and receive 10/244110/2
authorAdrian Szyndela <adrian.s@samsung.com>
Mon, 14 Sep 2020 11:06:02 +0000 (13:06 +0200)
committerAdrian Szyndela <adrian.s@samsung.com>
Tue, 15 Sep 2020 06:41:30 +0000 (08:41 +0200)
commit7ec780a3bdc2db7598d6af0fbc526709e3496cac
tree8d28c6e466cf1e02714e7b345f949210d47b257e
parentf17500cc781d2ca170c173b2405f8410eaa94e78
cynara integration: check policy right away for both send and receive

Check policy at moments, when sender is still present, so the policy
can be checked for both sender and receiver.

This way only potential waiting for cynara check is left with no need
to access any connection data.

Change-Id: I6544740c6e31dee286261fe3cddb3f692c669c4d
bus/bus.c
bus/check.c
bus/check.h
bus/connection.c
bus/connection.h
bus/cynara.c
bus/dispatch.c