-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Open
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Description
WebSocket peers exchange messages. A message is composed of one or more frames. The (*Conn).Read and (Codec).Receive methods return a single frame. There is no mechanism to detect message boundaries or otherwise compose frames into a message. To use this package, an application must provide its own framing or assume that the peer sends single frame messages. My guess is that most applications assume that the peer sends single frame messages because that's what browsers and the websocket package do. This assumption is not true of all peers.
kelp404
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.