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
Roger A. Light
cdf054719c
Update thanks file.
11 years ago
Roger A. Light
290ea87828
Build fixes for OpenBSD.
11 years ago
Roger A. Light
0733b3f68b
Fix use of sprintf.
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
cdb1cf9b13
Remove typos.
11 years ago
Roger A. Light
389c971430
Remove logically dead code.
...
Coverity CID 1292477.
11 years ago
Roger A. Light
15b291eaa4
Remove unsigned comparison against <0.
...
Coverity CID 1292471.
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
a6827df6c0
[467096] Fix incorrect bridge notification.
...
If a custom notification topic was used, the bridge status would be set
to 1 before a connection was attempted, this has been fixed.
Initial updates to the status topic are now only set once, when the
broker starts, rather than each time the bridge attempts to reconnect.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=467096
11 years ago
Roger A. Light
2bacb34db8
Windows installer dep info.
11 years ago
Roger A. Light
28b649059c
Release date.
11 years ago
Roger A. Light
756a6cd281
More test fixes.
11 years ago
Roger A. Light
ccb3ea86be
Test fixes.
11 years ago
Roger A. Light
6f2fe06f0b
[464811] Fix handling of payload lengths>4096 with websockets.
...
Thanks to Arjen van Elteren and Stephen Zeng.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=464811
11 years ago
Roger A. Light
121c2ca002
Broker will return CONNACK rc=5 when a client is not authorised.
...
This was being incorrectly set as rc=4.
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
d7e3fdf7f7
Don't check set size on Windows.
...
socket is an opaque object on Windows, so this check isn't valid.
11 years ago
Roger A. Light
ec2fcce43b
Don't send websockets messages if the message is queued.
11 years ago
Roger A. Light
8de6b92e3c
Fix calls to mosquitto_connect*_async() not completing.
11 years ago
Roger A. Light
11d0d887f0
Fix parsing of auth_opt_ arguments with extra spaces/tabs.
11 years ago
Roger A. Light
cc7beb62a5
[465384] Fix crash on Windows when using bridges.
...
Thanks to Stefan Rosskopf.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=465384
11 years ago
Roger A. Light
11756d24c8
Change internal funcs _foo_bar() to foo__bar().
11 years ago
Roger A. Light
e5010af4df
[464632] Library: Fix possible crash due to select() call.
...
Fix possibility of select() being called with a socket that is >FD_SETSIZE.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=464632
11 years ago
Roger A. Light
e6f262bbbf
Remove unnecessary includes.
11 years ago
Roger A. Light
21b372ed9e
ACLs are now checked before sending a will message.
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