ignore incoming connection events

This commit is contained in:
Zlatin Balevsky
2018-07-26 02:50:43 +01:00
parent 7ba5bf61c5
commit b3dd89dbe5

View File

@@ -55,6 +55,8 @@ class HostCache extends Service {
}
void onConnectionEvent(ConnectionEvent e) {
if (e.incoming)
return
Destination dest = e.endpoint.destination
Host host = hosts.get(dest)
if (host == null) {