mosquitto:dynamic-bridge

Last commit made on 2021-11-16
Get this branch:
git clone -b dynamic-bridge https://git.launchpad.net/mosquitto

Branch merges

Branch information

Name:
dynamic-bridge
Repository:
lp:mosquitto

Recent commits

2760985... by Roger Light

Fix man page installation.

Closes #2363. Thanks to yvs2014.

90566d3... by Roger Light

Merge pull request #2318 from cdelston0/dynamic-bridge

Fix dynamic bridge start-up delay

63d400d... by Chris Elston <email address hidden>

Additional bridge parameters for dynamic bridges

Signed-off-by: Chris Elston <email address hidden>

Adds the following bridge configuration as parameters for dynamic
bridges:
- remote_username
- try_private
- notification_topic
- remote_clientid

8491fd4... by Chris Elston <email address hidden>

Fix segfault in dynamic bridge support

Signed-off-by: Chris Elston <email address hidden>

Sending an empty packet to $BRIDGE/new would cause a segfault because
the payload pointer was accessed without checking for NULL.

This change rejects an empty payload with MOSQ_ERR_INVAL.

cd3b588... by Chris Elston <email address hidden>

Fix dynamic bridge start-up delay

Signed-off-by: Chris Elston <email address hidden>

The first packet sent by a dynamic bridge was failing because it was
sent before the socket was fully established and the OS returned
-EAGAIN. We had to wait for the next PINGREQ to cause the initial packet
to be sent, and therefore bridge startup was delayed by the
configured keepalive timeout (default 60 seconds).

This change adds the new bridge's output socket to the list managed by
the mux, and we now send the initial CONNECT as soon as the output
socket becomes available.

2b86690... by Roger Light

Merge pull request #1926 from Tifaifai/Bridge-Dynamic_2.0

Bridge dynamic 2.0

ec1cad0... by Roger Light

Merge pull request #1964 from nullr0ute/fix-plugins-install-64bit

Use libdir as the install prefix for plugins

0ec258d... by Roger Light

Fix incorrect string length calculation.

Closes #1963. Thanks to twegener-embertec.

9d7580f... by Pbrobinson

Use libdir as the install prefix for plugins

Use the libdir variable from config.mk just like lib/ uses to ensure
that the plugins are installed into the same location as the library.
This fixes systems that use lib64 for libraries like most 64 bit
Linux distributions.

Signed-off-by: Peter Robinson <email address hidden>

e97cf62... by Roger Light

Attempt to fix snap build.