mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-21 23:29:52 +01:00
Additional logging in KeyAgreementConnector
This commit is contained in:
@@ -127,6 +127,7 @@ class KeyAgreementConnector {
|
|||||||
List<Pair<DuplexPlugin, BdfList>> transports = new ArrayList<>();
|
List<Pair<DuplexPlugin, BdfList>> transports = new ArrayList<>();
|
||||||
for (TransportId id : PREFERRED_TRANSPORTS) {
|
for (TransportId id : PREFERRED_TRANSPORTS) {
|
||||||
TransportDescriptor d = descriptors.get(id);
|
TransportDescriptor d = descriptors.get(id);
|
||||||
|
LOG.info("id: " + id + " d: " + d);
|
||||||
Plugin p = pluginManager.getPlugin(id);
|
Plugin p = pluginManager.getPlugin(id);
|
||||||
if (d != null && p instanceof DuplexPlugin) {
|
if (d != null && p instanceof DuplexPlugin) {
|
||||||
if (LOG.isLoggable(INFO))
|
if (LOG.isLoggable(INFO))
|
||||||
@@ -137,6 +138,9 @@ class KeyAgreementConnector {
|
|||||||
|
|
||||||
// TODO: If we don't have any transports in common with the peer,
|
// TODO: If we don't have any transports in common with the peer,
|
||||||
// warn the user and give up (#1224)
|
// warn the user and give up (#1224)
|
||||||
|
if (transports.isEmpty()) {
|
||||||
|
LOG.info("No transports found");
|
||||||
|
}
|
||||||
|
|
||||||
if (!transports.isEmpty()) {
|
if (!transports.isEmpty()) {
|
||||||
byte[] commitment = remotePayload.getCommitment();
|
byte[] commitment = remotePayload.getCommitment();
|
||||||
|
|||||||
Reference in New Issue
Block a user