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

Fix send pkt #1487

Merged
merged 4 commits into from
Nov 6, 2019
Merged

Fix send pkt #1487

merged 4 commits into from
Nov 6, 2019

Conversation

grom-42
Copy link
Contributor

@grom-42 grom-42 commented Nov 4, 2019

  • If you are contributing a new feature, is your work based off the develop branch?
  • If you are contributing a bugfix, is your work based off the fixes branch?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully run make test with your changes locally?
  • Have you signed the Eclipse Contributor Agreement, using the same email address as you used in your commits?
  • Do each of your commits have a "Signed-off-by" line, with the correct email address? Use "git commit -s" to generate this line for you.

Hi,
This fixes some issues I spotted while working on acceptance tests.
This is my first pull request on Github, I think I made everything properly but do not hesitate to tell me if this is not the case.

According to the documentation of python 3 socket::send method
(https://docs.python.org/3/library/socket.html#socket.socket.send),
the call to send must be retry until all data is sent while sending
packet with a "large" amount of data.

Signed-off-by: Jerome Malinge <[email protected]>
To keep the broker session working while launching several tests on
the same broker, the last packet of this transaction must be sent.

Signed-off-by: Jerome Malinge <[email protected]>
@ralight
Copy link
Contributor

ralight commented Nov 6, 2019

Lovely, thanks for choosing Mosquitto as your first pull request :)

This all looks good - small changes with straightforward descriptions, and improving tests - even better. Thanks for your contribution!

@ralight ralight merged commit 25f458d into eclipse:fixes Nov 6, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants