Protocol Question TODO
This commit is contained in:
parent
bf19d1b20c
commit
9788c07ac4
|
@ -360,7 +360,8 @@ func (rc *Connection) Process(handler Handler) error {
|
|||
} else {
|
||||
// When a non-zero packet is received for an unknown
|
||||
// channel, the recipient responds by closing
|
||||
// that channel.
|
||||
// that channel
|
||||
// TODO: (otherwise we just ignore) Clarify Protocol Spec?
|
||||
rc.traceLog(fmt.Sprintf("received packet on unknown channel %d. closing.", packet.Channel))
|
||||
if len(packet.Data) != 0 {
|
||||
rc.SendRicochetPacket(rc.Conn, packet.Channel, []byte{})
|
||||
|
|
Reference in New Issue