summaryrefslogtreecommitdiff
path: root/source3/utils/msgtest.c
AgeCommit message (Collapse)AuthorFilesLines
2000-11-16Fix for a problem with the new messaging system. If a sender is using theJeremy Allison1-2/+27
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 3aa7995660395ecb85c8e35b638fa9fbbb952558)
2000-09-13first cut at smbcontrol program. It currently allows syntax like:Andrew Tridgell1-14/+4
smbcontrol nmbd debug 7 smbcontrol smbd debug 9 smbcontrol 3278 debug 1 smbcontrol nmbd force-election (This used to be commit 5f91c24636f5d82486f22c10bc55e060f9c518bf)
2000-09-12- fixed some memory leaks in the messages codeAndrew Tridgell1-3/+21
- added a MSG_PING message for performance testing. (This used to be commit e779f834dbb875669c3aa0a35b324aa13f0c8c36)
2000-09-12- changed the msg_type to be an int instead of an enum so that it isAndrew Tridgell1-1/+1
easier to add new message types to messages.h without breaking old binaries - added a MSG_FORCE_ELECTION message to force nmbd to hold an election (This used to be commit f1c49ca7ce56bc39259041a71479e84ebf53eeca)
2000-09-11a simple test program I use to test the debug message systemAndrew Tridgell1-0/+63
(This used to be commit db1ec05f89071cd1ae4b190dda843b38e2d97cef)