roster.go
changeset 55 ce9f9f7108c8
parent 54 b345e0473430
child 57 e6cb3f049137
equal deleted inserted replaced
54:b345e0473430 55:ce9f9f7108c8
    85 			out <- st
    85 			out <- st
    86 		}
    86 		}
    87 	}(in, out)
    87 	}(in, out)
    88 }
    88 }
    89 
    89 
       
    90 // BUG(cjyar) This isn't getting updates.
    90 // BUG(cjyar) This isn't actually thread safe, though it's unlikely it
    91 // BUG(cjyar) This isn't actually thread safe, though it's unlikely it
    91 // will fail in practice. Either the roster should be protected with a
    92 // will fail in practice. Either the roster should be protected with a
    92 // mutex, or we should make the roster available on a channel instead
    93 // mutex, or we should make the roster available on a channel instead
    93 // of via a method call.
    94 // of via a method call.
    94 // BUG(cjyar) RFC 3921, Section 7.4 says we need to reply.
    95 // BUG(cjyar) RFC 3921, Section 7.4 says we need to reply.