Also test that messages arrive and activate keys

This commit is contained in:
Torsten Grote
2021-06-24 15:57:19 -03:00
parent e8428925ae
commit ccec17f28a
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);