Roger A. Light
5b4a4cfc6a
Fix compilation warnings around _BSD_SOURCE.
8 years ago
Roger A. Light
943b311344
Don't use deprecated openssl functions.
8 years ago
Roger A. Light
f4d238be18
Bump copyright years.
8 years ago
Roger A. Light
0fef6bdee8
Maximum connections on Windows increased to 2048.
...
Thanks to ericGTT.
8 years ago
Roger A. Light
2283585e39
Remove build timestamp information for reproducible builds.
8 years ago
Roger A. Light
ac6997d7bc
Fix merge error.
8 years ago
Roger A. Light
5a267368d7
Merge branch 'master' into develop
8 years ago
Roger A. Light
e74203de2c
Merge branch 'master' into develop
8 years ago
Roger A. Light
2a50b2e9bd
Fix regression from 1.4.13 where persistence data was not being saved.
8 years ago
Roger A. Light
5246a76f87
[477] Send will messages for connected clients when broker stops.
...
Thanks to mikeS7.
Bug: https://github.com/eclipse/mosquitto/issues/477
8 years ago
Roger A. Light
6e7d02ba16
Fix for CVE-2017-9868 for Windows.
8 years ago
Roger A. Light
91b308a11d
Merge branch 'master' into develop
9 years ago
Roger A. Light
ba2de88790
Display error if broker unable to open the log file.
...
Thanks to Matthew Treinish.
Bug: https://github.com/eclipse/mosquitto/issues/234
9 years ago
Roger A. Light
017db6706f
Rename mosquitto_broker.h -> mosquitto_broker_internal.h
9 years ago
Roger A. Light
8378fe44cf
Update copyrights.
9 years ago
Roger A. Light
1b659b41de
sys__ -> sys_tree__
9 years ago
Roger A. Light
43bcf6799c
Move static sys tree entries to sys_tree.c.
9 years ago
Roger A. Light
d54359598e
Move signals/events code to own file.
9 years ago
Dmitry Kaukov
6bf8b59d89
Signalling mosquitto process on Win32, using named events: ( #163 )
...
mosqPID_shutdown
mosqPID_reload
mosqPID_backup
mosqPID_vacuum
where PID is the PID of the mosquitto process
Signed-off-by: Dmitry Kaukov <dkaukov@opentable.com>
9 years ago
Roger A. Light
1c3988a397
Merge branch 'master' into develop
9 years ago
Roger A. Light
f588075931
[485589] Close stdin etc. when daemonised.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=485589
10 years ago
Roger A. Light
2549919413
Fix support for libwebsockets 1.22.
10 years ago
Roger A. Light
7aa653c42f
Add support for libwebsockets 1.6.
10 years ago
Roger A. Light
b4fbe904d4
Remove more unnecessary "if(x) mosquitto__free(x)" checks.
10 years ago
Roger A. Light
9a2eb2038f
Drop Windows XP support, misc fixes on Windows.
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
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
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
b598aec385
Sys -> user includes.
11 years ago
Roger A. Light
11756d24c8
Change internal funcs _foo_bar() to foo__bar().
11 years ago
Roger A. Light
dacee786be
[463000] Use own type to simplify socket handling.
...
Means that SOCKET is used as the socket type everywhere on Windows.
11 years ago
Roger A. Light
db86809ee9
Add websockets logging options.
11 years ago
Roger A. Light
6fd38b8c47
Windows fixes.
11 years ago
Roger A. Light
f781498c03
Ensure that file logging uses the correct username.
11 years ago
Roger A. Light
626857b20a
Close and reopen log_dest file on HUP.
11 years ago
Roger A. Light
153e6e6211
[452914] Drop root privileges after listeners started.
...
This means that TLS private keys can be restricted to the root user.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=452914
11 years ago
Roger A. Light
db3c016fdd
Don't use bridge hash in each client.
...
Store a DB wide array of bridges. There shouldn't be many of them, so
iterating/searching isn't a problem. Saves 56 bytes in the client
struct.
11 years ago
Roger A. Light
ea8537c048
Remove unused messages from store immediately.
...
This removes the need for *store_clean*.
11 years ago
Roger A. Light
fc1e514ad4
Add log_facility for non-Windows OSs.
11 years ago
Roger A. Light
e3bf10cd9a
Change the way that new clients with match client ids are dealt with.
...
This change means that the connection isn't swapped from new context to
old, which makes dealing with websockets lots easier. It does require
that clients storing a list of their subscriptons.
11 years ago
Roger A. Light
dcd469c177
Use own linked list for storing disused contexts for freeing.
...
Seemed to be a problem with getting it to work under a hash and there
isn't really any need for a hash.
11 years ago
Roger A. Light
58c857c473
Fix for windows.
11 years ago
Roger A. Light
3d58f5ed82
Some minor memory leak fixes.
11 years ago
Roger A. Light
7b1ee68ef1
Remove compilation warnings for various configurations.
11 years ago
Roger A. Light
b01b0b581f
Produce error if unable to create WS listener.
11 years ago
Roger A. Light
84619c296d
Fix building for WITH_BRIDGE=no.
11 years ago