Roger A. Light
abb3fee1f8
Coverage reporting for whole broker.
2018-10-06 21:56:48 +01:00
Roger A. Light
8e793f68e1
Simplify prop validation.
2018-10-04 22:58:46 +01:00
Roger A. Light
bc1caedc32
Some property string read tests.
2018-10-04 22:49:34 +01:00
Roger A. Light
f59526a014
Property read in16 tests.
2018-10-04 21:16:46 +01:00
Roger A. Light
e14b613a02
Property read int32 tests.
2018-10-04 19:04:21 +01:00
Roger A. Light
f4b2838574
Property reading, and tests for byte properties.
2018-10-04 17:18:57 +01:00
Roger A. Light
05b40b90db
Add reason strings.
2018-10-04 12:43:43 +01:00
Roger A. Light
75b6851c76
Property identifer is a varint.
2018-10-04 10:44:11 +01:00
Roger A. Light
572be268e5
Fix signedness of varint reading.
2018-10-04 09:53:30 +01:00
Roger A. Light
366744bad7
Fix subscribe_multiple datatypes.
2018-10-04 09:46:51 +01:00
Roger A. Light
c9d9ad8e72
UTF-8 validation tests and fixes.
2018-10-04 09:03:54 +01:00
Roger A. Light
72131c84ce
Binary data read functions and tests.
2018-10-03 21:35:33 +01:00
Roger A. Light
debf7493ad
UTF-8 validation tests and fixes.
2018-10-03 18:42:15 +01:00
Roger A. Light
400db91166
Handle UTF-8 validation in packet__read_string.
2018-10-03 15:04:24 +01:00
Roger A. Light
b6b8da1fa6
Variable Byte Integer reading tests.
2018-10-03 11:57:20 +01:00
Roger A. Light
99a1c0e43a
Move simple datatype reading functions to own file.
...
This facilitates easier testing.
2018-10-03 10:23:58 +01:00
Roger A. Light
1488992ea8
Naive reading of MQTT 5 properties. No processing done.
2018-10-02 16:43:40 +01:00
Roger A. Light
17b3709790
Fix varint reading.
2018-10-02 14:07:23 +01:00
Roger Light
6c9e8d51c2
Merge branch 'develop' into mqtt5
2018-10-02 11:28:03 +01:00
Roger A. Light
1867f30785
Merge branch 'master'
...
Conflicts:
ChangeLog.txt
2018-10-02 08:31:54 +01:00
Roger A. Light
cf9a72d8db
Add mosquitto_subscribe_multiple.
2018-09-27 22:05:15 +01:00
Roger A. Light
c78003cacf
Bump version number, add CVE details.
2018-09-25 16:26:28 +01:00
Roger A. Light
f9c9f3d396
Fix incorrect hash usage with duplicate clients.
...
Fix duplicate clients being added to by_id hash before the old client
was removed.
Closes #645 .
2018-09-25 14:25:54 +01:00
Roger A. Light
59bd07627d
Various build improvements to help packaging.
2018-09-25 14:25:54 +01:00
Roger A. Light
dd0e0d91b0
Fix build on Windows.
2018-09-20 10:38:35 +01:00
Roger A. Light
3f87232065
Bump version number.
2018-09-19 18:09:43 +01:00
Roger A. Light
4ee6941188
Primitive v5 CONNACK support - no properties.
2018-09-19 11:13:50 +01:00
Roger A. Light
561513fdd4
Very simple v5 CONNECT support - no properties.
2018-09-19 11:00:15 +01:00
Roger A. Light
ccc97d8c96
Function for reading variable length ints from packet.
2018-09-19 10:59:57 +01:00
Roger A. Light
33a523eea9
Add identifiers for v5.
...
Clients know about v5, just need library support...
2018-09-19 10:59:41 +01:00
Roger A. Light
a127c93a5a
Property identifiers.
2018-09-19 10:59:31 +01:00
Roger A. Light
99c6ec7f6e
Protocol name will never be changed from MQTT.
2018-09-19 10:58:36 +01:00
Roger A. Light
5dc88fe8f3
Add v5 return codes
2018-09-19 10:58:23 +01:00
Roger A. Light
0bacff11df
Rename mqtt3_protocol.h -> mqtt_protocol.h.
2018-09-19 10:58:12 +01:00
Roger A. Light
48f096bc1c
Read/write new 32 bit ints from packets.
2018-09-19 10:57:16 +01:00
Michael Heimpold
a459e93498
Install pkg-config files also for non-CMake builds
...
At the moment, pkg-config hint files are only installed when CMake is
used as build system. However, it is very convenient for programs using
libmosquitto to have these files always in place, so let's add it
here, too.
Signed-off-by: Michael Heimpold <michael.heimpold@i2se.com>
2018-09-18 15:25:22 +01:00
Fredrik Fornwall
915e91d9be
Fix build with OPENSSL_NO_ENGINE
...
Signed-off-by: Fredrik Fornwall <fredrik@fornwall.net>
2018-09-18 15:02:32 +01:00
Roger A. Light
ae45bd3d40
Update changelog and fixes to #927 PR.
2018-09-18 14:57:13 +01:00
yzhivik
96e62d596f
fix SOCKS5 username and password set
...
fix SOCKS5 request wrt IP4/IP6/FQDN
Signed-off-by: yzhivik <yuriy.zhyvytsya@gmail.com>
2018-09-18 14:34:31 +01:00
Roger A. Light
a9da3c263d
Bump version number.
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-16 17:01:08 +01:00
Roger A. Light
4ccc68d2df
Revert incorrect change.
2018-08-16 11:33:06 +01:00
Roger A. Light
9d30625622
Build fix for Windows.
2018-08-16 11:16:16 +01:00
Roger A. Light
88765a5e80
Consistent use of config.h across the project.
2018-08-16 11:14:51 +01:00
Roger A. Light
a199cac69e
Don't confuse expiring and duplicate clients.
2018-08-15 17:27:59 +01:00
Roger A. Light
0ec090f31a
Fixes for building on FreeBSD.
2018-08-15 17:02:56 +01:00
Roger A. Light
10b19a42ed
Fixes for building on NetBSD.
...
Closes #258 .
Thanks to Daniel Ölschlegel.
2018-08-09 15:21:40 +01:00
Roger A. Light
c757cb0912
Remove incorrect comment.
2018-08-09 15:01:39 +01:00
Roger A. Light
e185d18917
Better fix for #851 .
...
Ensure all sockets that are closed are set to INVALID_SOCKET.
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-08 15:23:03 +01:00
Roger A. Light
7f0b4d6271
Fix connection problems when using mosquitto_connect_async().
...
The connection wouldn't always complete if mosquitto_loop_start() was
called before mosquitto_connect_async(). Closes #848 .
Thanks to Ian Gough.
Bug: https://github.com/eclipse/mosquitto/issues/848
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-08 09:21:19 +01:00
Roger A. Light
575dce91f0
Fix segfault on startup if bridge CA certificates could not be read.
...
Closes #851 .
Thanks to chelliwell.
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-02 15:06:09 +01:00