diff options
author | Havoc Pennington <hp@redhat.com> | 2003-04-19 16:16:24 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-04-19 16:16:24 +0000 |
commit | 983200f912f41ba75a873c011bfbcd3b0285bf4c (patch) | |
tree | 794516f892061dbbcfb036110d69850885edda3d /bus/dispatch.c | |
parent | d3fb6f35716ff1d6f6644dea2043d539007811de (diff) |
2003-04-19 Havoc Pennington <hp@pobox.com>
* bus/driver.c (bus_driver_handle_hello): check limits and
return an error if they are exceeded.
* bus/connection.c: maintain separate lists of active and inactive
connections, and a count of each. Maintain count of completed
connections per user. Implement code to check connection limits.
* dbus/dbus-list.c (_dbus_list_unlink): export
* bus/bus.c (bus_context_check_security_policy): enforce a maximum
number of bytes in the message queue for a connection
Diffstat (limited to 'bus/dispatch.c')
-rw-r--r-- | bus/dispatch.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bus/dispatch.c b/bus/dispatch.c index d1c19fd3..c1e67d6a 100644 --- a/bus/dispatch.c +++ b/bus/dispatch.c @@ -48,9 +48,6 @@ static dbus_bool_t send_one_message (DBusConnection *connection, void *data) { SendMessageData *d = data; - - if (!bus_connection_is_active (connection)) - return TRUE; if (!bus_context_check_security_policy (d->context, d->sender, @@ -93,7 +90,7 @@ bus_dispatch_broadcast_message (BusTransaction *transaction, d.transaction = transaction; d.error = &tmp_error; - bus_connections_foreach (connections, send_one_message, &d); + bus_connections_foreach_active (connections, send_one_message, &d); if (dbus_error_is_set (&tmp_error)) { |