mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
cdac09614e
messaging system as a notification mechanism, and the speed of notification
greatly exceeds the speed of message recovery, then you get a massively (>75Mb)
growing tdb. If the message is a simple notification, then the message is
static, and you only need one of them in transit to a target process at
any one time.
This patch adds a BOOL "allow_duplicates" to the message_send_XX primitives.
If set to False, then before sending a message the sender checks the existing
message queue for a target pid for a duplicate of this message, and doesn't
add to it if one already exists.
Also added code into msgtest.c to test this.
Jeremy.
(This used to be commit
|
||
---|---|---|
.. | ||
.cvsignore | ||
srv_dfs.c | ||
srv_lookup.c | ||
srv_lsa_hnd.c | ||
srv_lsa.c | ||
srv_netlog.c | ||
srv_pipe_hnd.c | ||
srv_pipe.c | ||
srv_reg.c | ||
srv_samr.c | ||
srv_spoolss_nt.c | ||
srv_spoolss.c | ||
srv_srvsvc.c | ||
srv_util.c | ||
srv_wkssvc.c |