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

Support for unix domain socket based connection passing #1522

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

qubeck
Copy link

@qubeck qubeck commented Dec 1, 2019

This feature adds support for unix domain socket based connection passing to allow an other process to pass already accepted connections to a running instance of mosquitto broker.

In case a unix domain socket listener is being used this patch evaluates additionally the first incoming message for presence of ancillary data of type SCM_RIGHTS to take a passed connection file descriptor and use it instead of the original accepted socket.

(This pull request makes #771 obsolete)


  • 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.

Signed-off-by: qubeck <qubeck@qubeck.de>
@karlp
Copy link
Contributor

karlp commented Dec 2, 2019

You're going to have to (at least) update the makefile too, as they're canonical for non-windows systems, not cmake

@qubeck
Copy link
Author

qubeck commented Dec 2, 2019

You're going to have to (at least) update the makefile too, as they're canonical for non-windows systems, not cmake

Thx, I'll provide integration to the non-cmake based makefile build

Signed-off-by: qubeck <qubeck@qubeck.de>
…on passing

Signed-off-by: qubeck <qubeck@qubeck.de>
Signed-off-by: qubeck <qubeck@qubeck.de>
@ralight ralight force-pushed the develop branch 2 times, most recently from 0ed1b50 to cf1c156 Compare September 22, 2020 13:49
@ralight ralight force-pushed the develop branch 3 times, most recently from de20d5c to 5db971a Compare November 24, 2020 12:10
@ralight ralight force-pushed the develop branch 2 times, most recently from d265cb9 to 192a092 Compare July 8, 2021 20:55
@ralight ralight force-pushed the develop branch 3 times, most recently from 028adb2 to 604b69a Compare March 26, 2024 12:43
@ralight ralight force-pushed the develop branch 2 times, most recently from 70757e2 to b7e2d3d Compare October 29, 2024 10:21
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

Successfully merging this pull request may close these issues.

2 participants