Roger A. Light
307044eda9
misc code updates.
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
6f88ba3225
Use mosquitto_strerror() instead of displaying the rc.
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
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
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
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
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
Roger A. Light
4195fde70b
Last raft of renames for the moment.
11 years ago
Roger A. Light
21946ace6c
mosquitto__log_printf -> log__printf
11 years ago
Roger A. Light
b67c90ec02
Rename internal datatypes.
11 years ago
Roger A. Light
3c703408f2
More function renaming.
11 years ago
Roger A. Light
94ef6ec7bb
Big set of function renames.
11 years ago
Roger A. Light
a67d43c8d3
Rename message functions.
11 years ago
Roger A. Light
1744477cf8
Rename/reorganise packet functions.
11 years ago
Roger A. Light
8049c4b7f8
Simplify code around SYS statistics gathering.
11 years ago
Roger A. Light
b598aec385
Sys -> user includes.
11 years ago
Roger A. Light
970ba58da6
Code reorganise.
11 years ago
Roger A. Light
11756d24c8
Change internal funcs _foo_bar() to foo__bar().
11 years ago
Roger A. Light
2e05e40350
[464458] mosquitto_sub: Add option to print the payload in hex.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=464458
11 years ago
Roger A. Light
90dc6d8c4c
Don't use uhpa for whole topics, unlikely to be of benefit.
11 years ago
Roger A. Light
b8f9aeb1a8
Fix incorrect string termination.
11 years ago
Roger A. Light
0ddd438161
Helper macros.
11 years ago
Roger A. Light
c7d6c1a865
UHPA comments.
11 years ago
Roger A. Light
133d2de144
Bump to development version.
11 years ago
Roger A. Light
2da74ad043
Use uhpa for topics.
11 years ago
Roger A. Light
2ecee163ef
Use uhpa for payloads.
11 years ago
Roger A. Light
3591f2d256
[462781] Allow longer paths on Windows.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=462781
11 years ago
Roger A. Light
c9a924e95e
[462780] Fix crash on multiple calls to lib init/clean.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=462780
11 years ago
Roger A. Light
502c3e7563
[461619] Disconnect idle websockets clients.
...
Websockets clients are now periodically disconnected if they have not
maintained their keepalive timer.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=461619
11 years ago
Roger A. Light
0434d1cd9b
[461705] Return -1 on error from mosquitto_socket()
...
Thanks to Mikkel Kirkgaard Nielsen.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=461705
11 years ago
Roger A. Light
2aceb704b5
[463000] Fix reconnect bug on Windows.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=463000
11 years ago
Roger A. Light
35b729909c
[463241] Fix possible crash under heavy network load.
...
Thanks to Alexandre Zia.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=463241
11 years ago
Roger A. Light
ccc8a81187
Ignore multiple spaces when parsing acl files.
11 years ago
Roger A. Light
c6450ac265
[462154] Fix problems parsing config strings with leading spaces.
...
Thanks to Aidan Gill.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=462154
11 years ago