Utopia icon indicating copy to clipboard operation
Utopia copied to clipboard

when a user has no name, it deadlocks the network

Open telephon opened this issue 8 years ago • 3 comments

where two computers have the same name, or nil, there is a constant flow of messages:

Peer nil rejoined the Utopia

telephon avatar May 03 '16 09:05 telephon

Somewhere in

add {|peer|
        peer = peer.as(Peer);
        dict[peer.name] = peer;
        peer.addDependant(this);
        this.changed(\add, peer)
    }

we may have to check if it is duplicate with ref to IP address

telephon avatar May 03 '16 10:05 telephon

Yes, I think that's sensible. Probably it should just use a kind of filename increment scheme (e.g. telephon-2) and post a warning.

muellmusik avatar May 03 '16 10:05 muellmusik

Yes, if it warns once, this would be enough.

telephon avatar May 03 '16 15:05 telephon