Also test that messages arrive and activate keys

This commit is contained in:
Torsten Grote
2021-06-24 15:57:19 -03:00
parent 3f6f970d36
commit dc3ba3d8f0
4 changed files with 125 additions and 20 deletions

View File

@@ -45,7 +45,6 @@ abstract class Connection {
@Nullable
StreamContext recogniseTag(TransportConnectionReader reader,
TransportId transportId) {
StreamContext ctx;
try {
byte[] tag = readTag(reader.getInputStream());
return keyManager.getStreamContext(transportId, tag);