Double-check the initiator flag and transport ID of incoming

connections, and invert the flag for the responder's side.
This commit is contained in:
akwizgran
2011-10-15 14:15:25 +01:00
parent 2618fea0eb
commit 89001e4c91
8 changed files with 31 additions and 24 deletions

View File

@@ -118,7 +118,7 @@ public class ConnectionDispatcherImpl implements ConnectionDispatcher {
s.dispose(false);
return;
}
streamConnFactory.createIncomingConnection(c, s, encryptedIv);
streamConnFactory.createIncomingConnection(t, c, s, encryptedIv);
}
public void dispatchOutgoingConnection(TransportId t, ContactId c,