Wolfgang Hottgenroth
88456c655f
Move check whether context is a bridge in front of check whether a listener
...
exists for context. New test now passes.
Signed-off-by: Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>
2018-08-08 13:42:50 +01:00
Wolfgang Hottgenroth
50b0c0b1f1
Add test which currently fails.
...
Signed-off-by: Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>
2018-08-08 13:42:50 +01:00
Wolfgang Hottgenroth
9912418f78
Change test scripts according to hints in #507 (replace localhost by 127.0.0.1)
...
Signed-off-by: Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>
2018-08-08 13:42:50 +01:00
Roger A. Light
39170d1181
ACL patterns that do not contain either %c or %u are now rejected.
...
Closes #209 .
Bug: https://github.com/eclipse/mosquitto/issues/209
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-08 13:15:54 +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
Pierre Fersing
abaceb9c9e
Fix missing rename of mosquitto__socket_get_address
...
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
2018-08-02 21:32:08 +01:00
Roger A. Light
2f6f5dbf9d
Fix problem on Pi caused by unsigned char being default.
...
Found via #849 .
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-02 21:06:47 +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
Roger A. Light
4bacbecb1b
Fix some places where return codes were incorrect.
...
Closes #850 .
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-02 14:41:04 +01:00
Roger A. Light
fc9a0db966
All clients now time out if they exceed their keepalive*1.5
...
This was inconsistent before.
Partially addresses #865 .
2018-08-02 13:05:36 +01:00
Roger A. Light
b07e0c08bf
Fix IPv6 addresses not being able to be used as bridge addresses.
...
Closes #886 .
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-02 13:01:02 +01:00
Roger A. Light
bcf76b9cb6
Remove use of AI_ADDRCONFIG.
...
Closes #869 , #901 .
Thanks to Alex Richman.
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-02 01:11:31 +01:00
Roger A. Light
f40ccd195d
Disable queued bytes test pending a fix.
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-02 00:35:00 +01:00
Roger A. Light
286400abcf
Use AF_UNSPEC etc. instead of PF_UNSPEC to comply with POSIX.
...
Closes #863 .
Thanks to denigmus and Patrick TJ McPhee.
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-02 00:27:52 +01:00
Roger A. Light
9fd55c0d44
Simplify broker tests with helper function.
2018-08-01 22:51:19 +01:00
Roger A. Light
40e2eab4c4
Disable queued bytes test temporarily.
2018-08-01 21:36:58 +01:00
Roger A. Light
a954081673
Print more OpenSSL errors when loading certificates/keys fail.
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-01 21:24:02 +01:00
Dave Miller
81a82f6fe2
Fix for issue #874
...
With special acknowledgement to sxsing (his github login) for his
help in development and testing of this fix.
NOTE: Pull-request is against master as the fixes branch has not
been updated with the v1.5 file src/handle_connect.c
Signed-off-by: Dave Miller <dmiller@tibco.com>
2018-08-01 19:30:40 +01:00
Roger A. Light
cd271041f5
Add test for issue #874 .
2018-08-01 19:26:12 +01:00
Roger A. Light
8bbb5887d0
[Broker] Fix auth plugin cleanup function not being called.
...
Closes #900 .
Thanks to Julian Zhao.
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-01 15:53:29 +01:00
Roger A. Light
ebf4d3a920
Add github pull request template.
2018-08-01 14:24:09 +01:00
Roger A. Light
75fc908bba
Fix snap launcher path.
2018-06-15 10:59:18 +01:00
Roger A. Light
d8dc336c24
Static websockets option.
2018-05-18 22:30:05 +01:00
Roger A. Light
4c9548cc7c
Bump snap version.
2018-05-10 21:38:27 +01:00
Roger A. Light
5e60136449
Merge branch 'develop'
2018-05-03 07:55:45 +01:00
Roger A. Light
e9d03c8ffd
Merge branch 'fixes'
2018-05-02 22:33:27 +01:00
Roger A. Light
84520296fa
Bump version number.
2018-05-02 22:33:05 +01:00
Roger A. Light
e90a32835b
Merge branch 'fixes' into develop
2018-05-02 22:24:49 +01:00
Roger A. Light
8410a19335
Add fallback case for libressl.
2018-05-02 21:51:08 +01:00
Roger A. Light
1a913bddd9
Fix realpath() usage for nonexistant files.
2018-05-02 21:21:07 +01:00
Roger A. Light
377dc82d3f
Fix parsing of configuration options that end with a space.
...
Closes #804 .
Thanks to Nicola Lunghi.
2018-05-02 21:04:46 +01:00
Roger A. Light
6c7ecd7e97
Fix compiling without TLS.
2018-05-02 21:04:42 +01:00
Roger A. Light
51ec5601c2
Fix memory leak that could be caused by a malicious CONNECT packet.
...
Closes #533493 (on Eclipse bugtracker)
Thanks to Daniel Romero.
2018-05-02 21:04:39 +01:00
Roger A. Light
cec1af1386
Don't print uninteresting epoll warnings.
2018-05-02 17:33:33 +01:00
Roger A. Light
d3b3ba86f1
Updated crude performance test.
2018-05-02 17:32:48 +01:00
Roger A. Light
95d26bb0e6
Fix build warnings on Mac.
2018-05-02 11:50:47 +01:00
Roger A. Light
5b4a4cfc6a
Fix compilation warnings around _BSD_SOURCE.
2018-05-02 09:39:36 +01:00
Roger A. Light
2d1667b120
Remove c99-isms due to problems with dependencies.
2018-05-02 09:32:37 +01:00
Roger A. Light
23230b7b18
Add per-listener acl handling.
2018-05-01 22:54:25 +01:00
Roger A. Light
3c517e617c
Fix static mosquitto_sub compiling.
2018-05-01 21:34:28 +01:00
Roger A. Light
62d99ecbc2
Build fixes.
2018-04-23 23:56:39 +01:00
Roger A. Light
79a7b36d20
Don't derefence a null message.
2018-04-19 20:53:38 +01:00
Roger A. Light
caa9e46fda
Fix bad merge.
2018-04-19 20:38:10 +01:00
Roger A. Light
b2bb48ac2b
Reference counting for openssl 1.0.2.
2018-04-16 22:39:37 +01:00
Roger A. Light
a29ee5db23
Uninstall the actually installed config file.
2018-04-16 22:24:26 +01:00
Roger A. Light
57ee8b92bc
Mac build fixes.
2018-04-16 11:48:42 +01:00
Roger A. Light
ba71bc3b32
Experimental parallel testing for library.
2018-04-16 10:02:22 +01:00
Roger A. Light
5d2f5c25d7
Experimental parallel testing for broker.
2018-04-15 23:38:18 +01:00
Roger A. Light
51aa7b7121
Update tests as a step towards parallelism.
2018-04-13 22:04:40 +01:00
Roger A. Light
574fb36ede
More utf-8 validation.
2018-04-13 17:42:16 +01:00