Roger A. Light
0a8d5d6db0
Fix slow websockets performance when sending large messages.
...
Closes #1390 . Thanks to aalibasic.
6 years ago
Roger A. Light
701c1a9069
Fix support for libwebsockets 3.x.
6 years ago
YangHau
6a49b4ff38
Remove useless if statement
...
If statement for detecting if a pointer is NULL
is totally unnecessary.
Signed-off-by: YangHau <vulxj0j8j8@gmail.com>
6 years ago
Roger A. Light
a415d415c5
Fix v5 DISCONNECT packets with remaining length == 2.
...
These were being treated as a protocol error.
Closes #1367 . Thanks to Frank Pagliughi.
6 years ago
Roger A. Light
8743f2fd00
Fix incoming msgs not being removed when there are no subs
...
Fix incoming messages not being removed for a client if the topic being
published to does not have any subscribers.
Closes #1322 . Thanks to Yannic Schröder.
6 years ago
Roger A. Light
0c0d8b8342
Fix incomgin QoS 2 with max_inflight_messages set to 1.
...
Closes #1332 . Thanks to xmas79.
6 years ago
Roger A. Light
8abcfafa29
Fix persistent clients being incorrectly expired on Raspberry Pis.
...
Closes #1272 . Thanks to BowenMarmot and addendumE.
6 years ago
Matevz Mihalic
f4832d8ef1
Fix plugin psk_key_get for v4
...
Signed-off-by: Matevz Mihalic <matevz.mihalic@gmail.com>
6 years ago
Roger A. Light
c6a4160def
Fix incoming/outgoing quota problems for QoS>0.
6 years ago
Roger A. Light
df270e3b20
Fix MQTT v5 overlapping subscription behaviour.
...
Clients now receive message from all matching subscriptions rather than
the first one encountered, which ensures the maximum QoS requirement is
met.
6 years ago
Roger A. Light
0545614f80
Fix zero length client ids being rejected for MQTT v5 clients.
...
This was happening when clean start was set to true.
6 years ago
Roger A. Light
bb7e6534e3
Fix incorrect shared subscription topic of '$shared.'
6 years ago
Roger A. Light
e87ac5a79c
Disable TLS renegotiation.
...
Client initiated renegotiation is considered to be a potential attack
vector against servers.
Closes #1257 . Thanks to Daniele Sluijters.
6 years ago
Roger A. Light
556eec42a9
Only add to disused if session expiry is 0.
6 years ago
Roger A. Light
3f81f874de
Fix persistent Websockets clients not receiving messages.
...
This occurs after they reconnect, having sent DISCONNECT
on a previous session.
Closes #1227 . Thanks to usernametaken.
6 years ago
Roger A. Light
4660254072
Colour internal logs for visibility.
6 years ago
Roger A. Light
fce996ae63
Add 'extern "C"' on public headers.
...
mosquitto_broker.h and mosquitto_plugin.h
Thanks to Wolfgang Petroschka.
Closes #1290 .
6 years ago
Roger A. Light
7c3c422803
Mention mosquitto_broker.h in mosquitto_plugin.h.
6 years ago
Roger A. Light
732cb1c45e
Consistent ref counting inc and dec functions.
6 years ago
Roger A. Light
959e785c2f
Fix MQTT v5 clients not being able to specify a password without a username.
...
Thanks to Erik Moqvist.
Closes #1274 .
6 years ago
Roger A. Light
c39d6294b5
Fixes for bug #1273
...
* Fix Will message for a persistent client incorrectly being sent when the client reconnects after a clean disconnect.
* Fix Will message for a persistent client not being sent on disconnect.
* Fix mosquitto_pub not using the `-c` option.
Thanks to Yannic Schröder.
Closes #1273 .
6 years ago
Roger A. Light
2e29ed2c8d
Fix default max_topic_alias listener config not being used.
...
This was not being copied to the in-use listener when compiled without
TLS support.
6 years ago
Roger A. Light
d61c1118de
Fix detection of incoming v3.1/v3.1.1 bridges.
...
Closes #1263 . Thanks to vrst37.
6 years ago
Karl Palsson
d296bde1f6
ssl: support openssl with ENGINE support disabled.
...
Alternatively, just drop support for this config.
Signed-off-by: Karl Palsson <karlp@etactica.com>
6 years ago
Christian von Arnim
742f0adf58
Fix password input when MAX_BUFFER_LEN is not 1024 in mosquitto_passwd.c
...
Signed-off-by: Christian von Arnim <christian.vonarnim@gmail.com>
6 years ago
Roger A. Light
ee962ceda3
Fix $SYS/broker/version being incorrectly expired after 60 seconds.
...
Close #1245 . Thanks to Christoph Krey.
6 years ago
Roger A. Light
895e209c41
Fix broker originated messages not being sent.
...
This occurred when `check_retain_source` was set to true.
Closes #1245 . Thanks to Christoph Krey.
6 years ago
Roger A. Light
9459269a6f
Fix Will message not allowing user-property properties.
6 years ago
Roger A. Light
f41cca8152
Fix access after free when v5 client with Will message disconnects.
...
The Will message has as its first property one of content-type,
correlation-data, payload-format-indicator, or response-topic.
Closes #1244 . Thanks to Christoph Krey.
6 years ago
Roger A. Light
4e72cae004
Fix build for WITH_TLS=no.
...
Closes #1250 . Thanks to bmparr.
6 years ago
Roger A. Light
5bda2db5c4
Use CMAKE_INSTALL_* variables when installing in CMake.
...
Closes #1049 . Thanks to Greg Troxel.
6 years ago
Roger A. Light
9664a6b251
Don't call ldconfig in CMake scripts.
...
Closes #1048 . Thanks to Greg Troxel.
6 years ago
Roger A. Light
86ba51a33c
Build fixes around CFLAGS et al.
...
- Split CFLAGS and CPPFLAGS, and LDFLAGS and LDADD/LIBADD.
- test/unit now respects CPPFLAGS and LDFLAGS.
Closes #1232 . Thanks to Greg Troxel.
6 years ago
Roger A. Light
4dcd977932
Windows build fixes.
7 years ago
Roger A. Light
449103e960
Merge remote-tracking branch 'refs/remotes/origin/fixes'
...
Conflicts:
ChangeLog.txt
7 years ago
Roger A. Light
3e6cb42a40
Fix minor Coverity issues
...
1400727 - unused value
1400726 - dereference after null check
1400728 - derefence before null check
7 years ago
Roger A. Light
689989cc56
Fix inflight quota inc/dec for both broker and library.
7 years ago
Roger A. Light
6438ce861e
Minor build variant fixes.
7 years ago
Roger A. Light
32fde3885c
Fix missing errors for websockets.
7 years ago
Roger A. Light
8531cb1d79
Separate broker message queues into in/out.
...
This allows and includes better flow control handling for QoS>0.
7 years ago
Roger A. Light
baf1909ffb
Improve some messages when client disconnects.
7 years ago
Roger A. Light
fb1979c0ea
Fix build on SmartOS due to missing IPV6_V6ONLY.
...
Thanks to Matt Ingenthron.
Closes #1212 .
7 years ago
Roger Light
77aaec686e
Merge pull request #1224 from omenlabs/ALPN
...
Bridge TLS Application-Layer Protocol Negotiation
7 years ago
Roger A. Light
638ab2f969
Fix unexpected behaviour when reusing a mid after a publish is denied.
7 years ago
Roger A. Light
8a651ff6c3
Remove remnant from before the conversion to utlist.
7 years ago
Roger A. Light
ad3b7ec778
Fix Coverity Scan 1400486-1400487. Unused values.
7 years ago
Roger A. Light
0d3c7fe778
Fix Coverity 1302840. No effect comparison.
7 years ago
Roger A. Light
e4d0d52b01
Fix Coverity Scan 1400483-1400485.
...
Logically dead code.
7 years ago
John Hickey
c011be62a4
Bridge TLS Application-Layer Protocol Negotiation
...
In order to connect to brokers that support both websockets and
mqtt on the same port (such as Amazon IoT), we need to set an
application for the SSL context. This change allows the specification
of an application by using the `bridge_alpn` configuration token.
Signed-off-by: John Hickey <jjh-github@daedalian.us>
7 years ago
Roger A. Light
2e7dcee342
Multistep auth, plus reauth, plus tests.
7 years ago