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

mosquitto_pub -l losts last mesage if not ended with new line #1475

Closed
majekw opened this issue Oct 24, 2019 · 2 comments
Closed

mosquitto_pub -l losts last mesage if not ended with new line #1475

majekw opened this issue Oct 24, 2019 · 2 comments
Milestone

Comments

@majekw
Copy link
Contributor

majekw commented Oct 24, 2019

When last line of stdin stream is not ended with \n, code don't send what it have in buffer, but allocate more memory and exits.

I could prepare fix for this, but it would be easier to do it on top of #1473 :-)

@ralight
Copy link
Contributor

ralight commented Nov 7, 2019

Fixed via: 1e04b22

If you could confirm that works for you that would be great.

@ralight ralight added this to the 1.6.8 milestone Nov 7, 2019
@majekw
Copy link
Contributor Author

majekw commented Nov 7, 2019

Works for me, compiled from current fixes branch. Thanks!

@majekw majekw closed this as completed Nov 7, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Feb 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants