Open castpuz opened 7 years ago
In Deserializer.SETTINGS,
if (buffer.length % 6 !== 0) { return 'PROTOCOL_ERROR'; }
BUT
rfc7540 says "A SETTINGS frame with a length other than a multiple of 6 octets MUST be treated as a connection error of type FRAME_SIZE_ERROR."
So, Isn't return 'FRAME_SIZE_ERROR' correct?
return 'FRAME_SIZE_ERROR'
In Deserializer.SETTINGS,
BUT
rfc7540 says "A SETTINGS frame with a length other than a multiple of 6 octets MUST be treated as a connection error of type FRAME_SIZE_ERROR."
So, Isn't
return 'FRAME_SIZE_ERROR'
correct?