Commit Graph

392 Commits (9bccd31b365e01650db50b42920a72dd613b3327)
 

Author SHA1 Message Date
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
Roger A. Light e310092f44 [461620] Inflight limits should only apply to outgoing messages.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=461620
11 years ago
Roger A. Light 28404350c4 Fix possible crash when using pattern ACLs. 11 years ago
Roger A. Light 3a4d1da697 More forcing. 11 years ago
Roger A. Light 6bc1035150 Force Release build. 11 years ago
Roger A. Light a68fc4fcfa Must configure cmake as well. 11 years ago
Roger A. Light 14b1f822c7 Build for Release target. 11 years ago
Roger A. Light ef5536cd2e Typo 11 years ago
Roger A. Light 748b826be9 Fix path. 11 years ago
Roger A. Light 15295cd8e7 No need to create directory here - causes an error when cached. 11 years ago
Roger A. Light a2707a92a2 Attempt to create installer and add as artifact. 11 years ago
Roger A. Light 741639a762 Fix 7z syntax. 11 years ago