error-notify: Don't stop sending notifies after removing a disconnected listener
This prevented new listeners from receiving notifies if they joined after another listener disconnected previously, and if they themselves disconnected their old connection would prevent them again from getting notifies.
This commit is contained in:
parent
6138b8d629
commit
ed926a73df
|
@ -94,7 +94,6 @@ METHOD(error_notify_socket_t, notify, void,
|
|||
DBG1(DBG_CFG, "sending notify failed: %s", strerror(errno));
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
enumerator->destroy(enumerator);
|
||||
|
@ -146,7 +145,7 @@ error_notify_socket_t *error_notify_socket_create()
|
|||
this->service = lib->streams->create_service(lib->streams, uri, 10);
|
||||
if (!this->service)
|
||||
{
|
||||
DBG1(DBG_CFG, "creating duplicheck socket failed");
|
||||
DBG1(DBG_CFG, "creating error-notify socket failed");
|
||||
destroy(this);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue