Roger A. Light
720d52d86e
Bump version number.
10 years ago
Roger A. Light
011de7ed19
Fix excessive calls to message retry check.
10 years ago
Roger A. Light
17e942e9b5
[475707] Fix free related crash on openwrt.
...
Thanks to Karl Palsson.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=475707
10 years ago
Roger A. Light
2597da17c2
[475807] Fix cross compiling of websockets.
...
Thanks to Tyler Brandon.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=475807
10 years ago
Roger A. Light
0c0961f6a4
[477571] Fix socket leak with bridges.
...
Don't leak sockets when an outgoing bridge connection with multiple
addresses is rejected.
Thanks to Johnny Egeland.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=477571
10 years ago
Roger A. Light
73f755acc4
New openssl version.
10 years ago
Roger Light
e2324ff9bb
Merge remote-tracking branch 'remotes/origin/master' into develop
...
Conflicts:
CMakeLists.txt
ChangeLog.txt
THANKS.txt
appveyor.yml
config.mk
installer/mosquitto-cygwin.nsi
installer/mosquitto.nsi
lib/messages_mosq.c
lib/messages_mosq.h
lib/mosquitto.c
lib/mosquitto.h
lib/net_mosq.c
lib/net_mosq.h
lib/send_client_mosq.c
lib/send_mosq.c
lib/socks_mosq.c
lib/will_mosq.c
src/bridge.c
src/conf.c
src/context.c
src/database.c
src/loop.c
src/mosquitto.c
src/mosquitto_broker.h
src/net.c
src/read_handle.c
src/read_handle_server.c
src/subs.c
10 years ago
Roger A. Light
307044eda9
misc code updates.
10 years ago
Roger A. Light
d71db835eb
Bump version number.
10 years ago
Roger A. Light
201bb1a04a
Fix potential crash on libwebsockets error.
10 years ago
Roger A. Light
3f86d316d8
Allow mosquitto__free(NULL).
...
Remove all unnecessary "if(X)" before a call to mosquitto__free.
10 years ago
Roger A. Light
2172ffb56c
[470253] Fix potential memory leaks.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=470253
Also-by: Wun Yu <wuyun1984_1984@163.com>
10 years ago
Roger A. Light
ab7f212b7e
[468987] Free unused topic elements.
...
Reduces memory usage and CPU usage.
Thanks to Guido Hinderberger, Martin Rauscher and Michael Hekel.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=468987
10 years ago
Anmol Sarma
13d869b8df
Avoid calls to strlen() when checking for empty strings.
...
Change-Id: I3de322006623483cbf20218da071a9da5d7b2e2b
Signed-off-by: Anmol Sarma <me@anmolsarma.in>
10 years ago
Roger Light
b4f7819c94
Merge "Remove superfluous NULL checks before free()" into fixes
10 years ago
Roger A. Light
1254fe93e0
[474935] Increment inflight message count correctly.
...
Don't duplicate the increment when queueing.
Thanks to Joe McIlvain.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=474935
10 years ago
Roger A. Light
e49e398eb3
Fix handling of outgoing QoS>0 messages for bridges.
...
Fix handling of outgoing QoS>0 messages for bridges that could not be
sent because the bridge connection was down.
10 years ago
Anmol Sarma
a354dd53ae
Remove superfluous NULL checks before free()
...
Change-Id: I39db613c8e75c1437b909de263df4f96a7f76880
Signed-off-by: Anmol Sarma <me@anmolsarma.in>
10 years ago
Roger A. Light
6f88ba3225
Use mosquitto_strerror() instead of displaying the rc.
10 years ago
Anmol Sarma
343e833fd9
Remove superfluous branch.
...
Signed-off-by: Anmol Sarma <me@anmolsarma.in>
10 years ago
Roger A. Light
4c147309a4
Minimum supported libwebsockets version is now 1.3.
10 years ago
Roger A. Light
300034f868
Initialise all plugins, not just the first.
10 years ago
Roger A. Light
9c711893a8
Fix path
10 years ago
Roger A. Light
92e3f8ce2f
Get nsis from chocolatey.
10 years ago
Roger A. Light
b87722556c
Remove duplicate code.
10 years ago
Roger A. Light
e773ea1bee
[464543] Run default checks after plugins.
10 years ago
Roger A. Light
5c642c9cfd
[464543] Add defer support for plugins.
...
Partial fix for 464543.
10 years ago
Roger A. Light
a542aae2f7
SF mirror changed.
10 years ago
Roger A. Light
a4dad02064
[470246] Change sys tree print output on USR2.
...
Thanks to Yun Wu.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=470246
10 years ago
Roger A. Light
e0037b348f
[465438] Fix incorrect behaviour for autosave_interval.
...
Thanks to Jaime Yu.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=465438
10 years ago
Roger A. Light
a330c5ca17
[471334] Fix incorrect loop timeout with keepalive=0.
...
Fix incorrect loop timeout being chosen when using the threaded
interface and keepalive = 0.
Thanks to Gianfranco Costamagna.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=471334
10 years ago
Roger A. Light
b2496f7bdc
Update appveyor openssl version.
10 years ago
Roger A. Light
6f193de3a5
[470258] Don't make unnecessary copies of payload in db__messages_store.
...
Along with the previous commit this closes #470258 .
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=470258
10 years ago
Roger A. Light
9bccd31b36
Don't make unnecessary copies of topic in db__messages_store.
10 years ago
Roger A. Light
bfd743f42d
Updated uhpa code with "move" function.
10 years ago
Roger Light
6fe5de46b4
Merge "[471053] Add systemd support and services." into develop
10 years ago
Tomas Novotny
29731b5e46
[471053] Add systemd support and services.
...
Add possibility to notify systemd that service is fully started. Also add
reference service files.
Change-Id: Ib4e39c8406ab6c15e1b88f197ae8f91c3e402023
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=471053
Signed-off-by: Tomas Novotny <novotny@rehivetech.com>
10 years ago
Roger A. Light
104489f6c7
Update thanks.
10 years ago
Roger A. Light
dc5abcac95
[470660] Handle fragmented TLS packets without a delay.
...
Thanks to Martin Rauscher.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=470660
10 years ago
Roger A. Light
c1974e5402
Report error string on connection failure rather than error code.
10 years ago
Tomas Novotny
45d5686fdb
Add missing CROSS_COMPILE.
...
CROSS_COMPILE variable is missing before websockets, so cross compilation
fails.
Signed-off-by: Tomas Novotny <novotny@rehivetech.com>
10 years ago
Roger A. Light
f3e216ee82
Merge branch 'develop' of ssh://git.eclipse.org:29418/mosquitto/org.eclipse.mosquitto into develop
...
Conflicts:
lib/messages_mosq.c
lib/mosquitto.c
src/conf.c
src/database.c
src/loop.c
src/mosquitto_broker.h
src/read_handle_server.c
10 years ago
Roger A. Light
9efc88dc8f
Bump appveyor openssl version.
10 years ago
Roger A. Light
7657aac584
[469467] Fixes and documentation to use_subject_as_username patch.
...
This is for certificate based client authentication.
Thanks to Fabian Ruff.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=469467
10 years ago
Fabian Ruff
f0511d0ff7
Add user_subject_as_username option
...
This adds an alternative option to use_identity_as_username.
In contrast to use_identity_as_username this option uses the full x509 subject as the username.
The subject is formatted as an rfc4514 distingushed name e.g. CN=client,OU=unit,O=org
Signed-off-by: Fabian Ruff <fabian@progra.de>
10 years ago
Roger A. Light
663d50a016
Big function reorganisation.
10 years ago
Roger A. Light
e469843ed9
Produce an error if two bridges share the same local_clientid.
10 years ago
Roger A. Light
2a880cf5b3
Readme to markdown.
10 years ago
Eduardo Sanchez
dae1f95371
Adding a new temporary variable for realloc memory in order to keep the reference to the allocated memory before the function returns.
...
In case that realloc fails (i.e. OOM), before exiting with "return(1)", the application is still able to free the corresponding allocated memory.
Signed-off-by: Eduardo Sanchez <ledusanchez@gmail.com>
10 years ago
Roger A. Light
cdbe62c2bb
Outgoing messages with QoS>0 are no longer retried after a timeout.
...
This change in behaviour can be justified by considering when the
timeout may have occurred.
* If a connection is unreliable and has dropped, but without one end
noticing, the messages will be retried on reconnection. Sending
additional PUBLISH or PUBREL would not have changed anything.
* If a client is overloaded/unable to respond/has a slow connection then
sending additional PUBLISH or PUBREL would not help the client catch
up. Once the backlog has cleared the client will respond. If it is not
able to catch up, sending additional duplicates would not help either.
11 years ago