Skip to content

SETTINGS frame in framer.js #238

@castpuz

Description

@castpuz

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions