Roger A. Light
5e365a2597
Documentation fixes.
7 years ago
Roger A. Light
63f98f3c55
Fix for building on Windows with static lws.
7 years ago
Roger A. Light
92d360e8a4
Installer and readme updates.
7 years ago
Roger A. Light
6fade4bc3d
Revert incorrect change.
7 years ago
Roger A. Light
fd19a6f0f0
Add support for compiling with static libwebsockets library.
7 years ago
Roger A. Light
0caae2a6ea
Build fix for Windows.
7 years ago
Roger A. Light
4ee1dba1f9
Consistent use of config.h across the project.
7 years ago
Roger A. Light
9bbd2f7022
Return error in mosquitto_pub -l if compiled without threading.
7 years ago
Roger A. Light
f7e304d9e1
Check for 918
7 years ago
Roger A. Light
2f47f31f29
Don't confuse expiring and duplicate clients.
7 years ago
Roger A. Light
e91cb7a79d
Fixes for CentOS 7.
7 years ago
Roger A. Light
e74a09936d
Fixes for building on FreeBSD.
7 years ago
Roger A. Light
fd8002c3e3
Fix compiling on Mac OS X <10.12 due to clock_gettime()
...
Closes #813 and #240 .
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light
f494a74015
Fix default port problem when compiling clients using WITH_TLS=no.
7 years ago
Roger A. Light
3baf63bedd
Fix building for libwebsockets < 1.6.
7 years ago
Pierre Fersing
e2f3a7f4c6
Remove some test that was always true
...
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
7 years ago
Roger A. Light
f3e1268fc4
Fix minor typo.
7 years ago
Roger A. Light
ecb3f4d4b0
Fix possible endian issue when reading the `memory_limit` option.
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light
ff28caae36
No need to calculate topic len twice.
7 years ago
Tatsuzo Osawa
2d759e8bf3
Fix subs memory issue #505
...
Signed-off-by: Tatsuzo Osawa <tatsuzo.osawa@gmail.com>
7 years ago
Roger A. Light
29513a27ba
Fixes for building on NetBSD.
...
Closes #258 .
Thanks to Daniel Ölschlegel.
7 years ago
Roger A. Light
02107c655e
Remove incorrect comment.
7 years ago
Roger A. Light
ffbdad93b4
Don't reject ACL patterns without %u or %c, just warn.
...
Using `pattern blah/#` is a legitimate method of getting a global ACL.
We shouldn't be changing behaviour in a fixes release.
7 years ago
Natanael Copa
fb802d6b3d
Flush stdout when asking for password.
...
Make sure the prompt is actaually printed by flushing stdout when asking
for passwords.
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
7 years ago
Tobias Assarsson
a8142c2d7a
Add missing parameters to internal mosquitto_acl_check
...
Signed-off-by: Tobias Assarsson <tobias.assarsson@gmail.com>
7 years ago
Roger A. Light
2f1416089d
Add test for issue in #828 .
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Rich Mattes
401d9493d2
Add documentation and networking dep to unit files
...
Updated the unit file examples to add a dependency on the
network-online.target systemd target to prevent mosquitto from
starting without network connectivity.
Added a documentation line to the unit files pointing to mosquitto
manpages.
Signed-off-by: Rich Mattes <richmattes@gmail.com>
7 years ago
Roger A. Light
e64948979d
Fix UNSUBACK messages not being logged.
...
Closes #903 .
Thanks to Christoph Krey.
7 years ago
Roger A. Light
f530ef93d1
Add test for issue 505.
7 years ago
Roger A. Light
c79059b34e
Fix `use_identity_as_username true` not working.
...
Closes #833 .
Thanks to David Crook and Brice Waegeneire.
Bug: https://github.com/eclipse/mosquitto/issues/833
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
bricewge
aa3503deb3
fix #833
...
Signed-off-by: Brice Waegeneire <brice.wge@gmail.com>
7 years ago
Roger A. Light
8ddb825f86
Better fix for #851 .
...
Ensure all sockets that are closed are set to INVALID_SOCKET.
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light
329c031854
Update changelog.
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light
82a6969b74
Add new test to parallel test script.
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Wolfgang Hottgenroth
73bbc60390
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>
7 years ago
Wolfgang Hottgenroth
a509a3d041
Add test which currently fails.
...
Signed-off-by: Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>
7 years ago
Wolfgang Hottgenroth
e8c711b81c
Change test scripts according to hints in #507 (replace localhost by 127.0.0.1)
...
Signed-off-by: Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>
7 years ago
Roger A. Light
20fbed21e3
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>
7 years ago
Roger A. Light
9c53972f40
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>
7 years ago
Pierre Fersing
f318bd383b
Fix missing rename of mosquitto__socket_get_address
...
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
7 years ago
Roger A. Light
79a8c5a2e0
Fix problem on Pi caused by unsigned char being default.
...
Found via #849 .
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light
0bd7cf86c6
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>
7 years ago
Roger A. Light
ad40419b18
Fix some places where return codes were incorrect.
...
Closes #850 .
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light
832e3deb71
All clients now time out if they exceed their keepalive*1.5
...
This was inconsistent before.
Partially addresses #865 .
7 years ago
Roger A. Light
2dd7df6498
Fix IPv6 addresses not being able to be used as bridge addresses.
...
Closes #886 .
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light
eb106907a6
Remove use of AI_ADDRCONFIG.
...
Closes #869 , #901 .
Thanks to Alex Richman.
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light
db2feac172
Disable queued bytes test pending a fix.
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light
2bb6ad41b9
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>
7 years ago
Roger A. Light
31c0dc4832
Simplify broker tests with helper function.
7 years ago
Roger A. Light
0ef81bf9b8
Disable queued bytes test temporarily.
7 years ago