Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Losing messages #41

Closed
joshartman opened this issue Feb 16, 2019 · 1 comment
Closed

Losing messages #41

joshartman opened this issue Feb 16, 2019 · 1 comment

Comments

@joshartman
Copy link

I have tried a simple test as follows on a Mac with the go1.11.5:

Start the broker:
go run main.go -p 8888

Start a subscriber:
mosquitto_sub -h localhost -p 8888 -t 'test/room' -v

Publish messages:
mosquitto_pub -h localhost -p 8888 -t 'test/room' -m "$(date)"

Results are that only every third of fourth message are displayed on the subscribe window.

The mosquitto package is on a Mac:
mosquitto_pub version 1.5.4 running on libmosquitto 1.5.4.

@chowyu08
Copy link
Contributor

thank you for you requestion, I have try to fix it in master when broker receive publish message and disconnect message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants