From 9788c07ac45767e2ab2bf432befc498557af2896 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Fri, 12 Jan 2018 13:56:32 -0500 Subject: [PATCH] Protocol Question TODO --- connection/connection.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/connection/connection.go b/connection/connection.go index 3a38513..1483a98 100644 --- a/connection/connection.go +++ b/connection/connection.go @@ -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{})