Added checking of valid topicFilter format in unsubscribe
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ class UnsubscribeDecoder extends DemuxDecoder {
|
||||
|
||||
//check qos level
|
||||
if (message.getQos() != AbstractMessage.QOSType.LEAST_ONE) {
|
||||
throw new CorruptedFrameException("Found an Usubscribe message with qos other than LEAST_ONE, was: " + message.getQos());
|
||||
throw new CorruptedFrameException("Found an Unsubscribe message with qos other than LEAST_ONE, was: " + message.getQos());
|
||||
}
|
||||
|
||||
int start = in.readerIndex();
|
||||
|
||||
Reference in New Issue
Block a user