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
Roger A. Light
c1776a0b39
Add reauth parameter for extended auth.
7 years ago
Roger A. Light
0f6e51d582
Code and tests for returning single stage auth data back to client.
7 years ago
Roger A. Light
494f35bd8d
Add mosquitto_set_username() plugin function.
7 years ago
Roger A. Light
a29a7dadc6
Basic plugin support for single step extended auth.
7 years ago
Roger A. Light
da84b9a983
Restrict what packets are allowed in what client state.
7 years ago
Roger A. Light
758e1edbe7
Handle error condition correctly.
7 years ago
Roger A. Light
fb8a2baaad
Refactor client msgs to use utlist to reduce code complexity.
7 years ago
Roger A. Light
8097ec24f9
Fix some property leaks.
7 years ago
Roger A. Light
fe854d3a64
Refactor handle__connect() ahead of extended auth changes.
7 years ago
Roger A. Light
73cd44ac7f
Move handle__disconnect() to its own file.
7 years ago
Roger A. Light
ec3fd361be
https links where possible.
7 years ago
Roger A. Light
75c2a39d2c
Send topic alias maximum from the broker.
7 years ago
Roger A. Light
12e5efbee2
Typo.
7 years ago
Roger A. Light
ea046c2405
Merge branch 'master' of git://github.com/LarsVoelker/mosquitto into LarsVoelker-master
7 years ago
Roger A. Light
834ffdf82b
Fix Coverity Scan defect 1400435.
7 years ago
Roger A. Light
0ca093060c
Fix Coverity Scan defect 1400433. Integer overflow.
7 years ago
Roger A. Light
9faad1e078
Fix a variety of scan-build warnings.
7 years ago
Roger A. Light
67707b819d
Fix some -Wextra compiler warnings.
7 years ago
Roger A. Light
2a5995106a
Fix Coverity Scan defect 140436. Null dereference.
7 years ago
Roger A. Light
87197bf9d4
Fix Coverity Scan defect 1400441, dereference of pointer after earlier null check.
7 years ago
Roger A. Light
42732f4cca
Fix mosquitto_passwd segfault on corrupt file.
...
Thanks to srasku-ge.
Closes #1207
7 years ago
Roger A. Light
43c159b9a5
Support and tests for saving message expiry interval.
7 years ago