Commit Graph

1194 Commits (ff36baa49e37eb27d998314d46f01ddd914fdd65)
 

Author SHA1 Message Date
Roger A. Light ff79432364 C++ on_connect_with_flags() support. 8 years ago
Roger A. Light 86ced4d98f Add mosquitto_connect_with_flags_callback_set().
This allows a second connect callback to be used that exposes the
MQTT connect flags parameter.

Closes #738, #128.
8 years ago
Roger A. Light ba3b41ef60 Make it much clearer how to enable TLS mode for clients.
Closes #776.
8 years ago
Roger A. Light 55e9e84973 Working snap user detection. 8 years ago
Roger A. Light 342cc93e3b Documentation fix.
Closes #724.

Thanks to Hrvoje Šeketa.
8 years ago
Roger A. Light d982c265cb Fix signed/unsigned comparison.
Closes #747, closes #753.
8 years ago
Thomas Beckmann (M-Way) 8e3c2d9af7 _mosquitto_net_read must call WSASetLastError when changing errno so that the error code can be picked up by _mosquitto_packet_read
Signed-off-by: Thomas Beckmann (M-Way) <t.beckmann@mwaysolutions.com>
8 years ago
Tifaifai Maupiti f2376551bc Fix: use websockets without OpenSSL / TLS.
Signed-off-by: Tifaifai Maupiti <tifaifai.maupiti@gmail.com>
8 years ago
Roger A. Light 8676cc0359 Replace mentions of deprecated 'c_rehash' with 'openssl rehash'. 8 years ago
Roger A. Light 40e6a75709 Use c99 as compiling standard.
Closes: #765.
8 years ago
Roger A. Light c3314fd593 Add missing tests (Closes #748). 8 years ago
Roger A. Light ff1afbabbf Snap config for daemon or user mode. 8 years ago
Roger A. Light 2a05602d84 Obtain canonical name for password file. 8 years ago
Roger A. Light d09d7c47c5 Further Coverity Scan fixes. 8 years ago
Roger A. Light dbdd113c86 Merge branch 'develop' of github.com:eclipse/mosquitto into develop 8 years ago
Roger A. Light e273c2593e Fix uninitialised variable. 8 years ago
Roger A. Light 8a22b918c0 Fix Coverity Scan defects. 8 years ago
Roger A. Light a979ed6535 Per listener plugins. 8 years ago
Roger A. Light a3b859a995 Remove name confusion 8 years ago
Roger A. Light c1bb673b1f Split features/fixes in changelog. 8 years ago
Roger A. Light 9d46fbf03c Update compiling.txt. 8 years ago
Roger A. Light 600217649b Merge branch 'develop' of github.com:eclipse/mosquitto into develop 8 years ago
Roger A. Light 13753f7661 Fix building mosquitto_passwd on Windows. 8 years ago
Roger A. Light 2097ab0ace Migrate snap from 'mosquitto-simple' to 'mosquitto' 8 years ago
Roger A. Light b6982a3a72 Update snap version. 8 years ago
Will Cooke 91badb995f Added gcc and g++ to build packages to allow it to build cleanly.
Signed-off-by: Will Cooke <will@whizzy.org>
8 years ago
Will Cooke 64ecb657a3 Add a launcher script to use a config file from a user writeable
area in the home directory. It will also copy the example config
in to the same location so that people can use it as a reference.
8 years ago
Roger A. Light 26bc3206cd Per listener allow_zero_length_clientid. 8 years ago
Roger A. Light 7271893966 Per listener auto_id_prefix. 8 years ago
Roger A. Light 4e266ff28f Copy default parameters. 8 years ago
Roger A. Light fd7b08c0eb Per listener psk_file. 8 years ago
Roger A. Light b2e1592376 Per listener allow_anonymous. 8 years ago
Roger A. Light 7046691b7d Reload password files properly. 8 years ago
Roger A. Light aa87f3c170 Per listener allow_anonymous. 8 years ago
Roger A. Light d55da837aa Add %X for upper case hex printing. 8 years ago
Roger A. Light 17029c1e11 Minor usage string updates. 8 years ago
Roger A. Light 5cdfe3239c Separate sub client output code into its own file. 8 years ago
Roger A. Light 611ad222bb Don't keep trying to connect in sub client if CONNACK negative. 8 years ago
Roger A. Light a571104809 Check correct password list. 8 years ago
Roger A. Light 0fef6bdee8 Maximum connections on Windows increased to 2048.
Thanks to ericGTT.
8 years ago
Roger A. Light 1ebc301100 Update changelog. 8 years ago
Viktor Gotwig e90afb8526 Adding tls host name extension (SNI)
Signed-off-by: Viktor Gotwig <viktor.gotwig@q-loud.de>
8 years ago
Peter Korsgaard 01ead7e73e websockets.c: unbreak build without TLS
Commit 7943072b1f (Fix use_identity_as_username not working on websockets
clients) added code which unconditionally accesses mosq-ssl, breaking the
build when TLS support is disabled.

Fix it by guarding this logic inside #ifdef WITH_TLS.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years ago
Pierre Fersing 6dd63d3000 Add more test for auth-plugin
Tests for:

* MOSQ_ACL_SUBSCRIBE acl check
* MOSQ_ERR_PLUGIN_DEFER with 2 auth-plugin
* Binary compatibility with v2 of auth-plugin

Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
8 years ago
Roger A. Light 57e852db05 Per listener password file. 8 years ago
Roger A. Light bc13eab9d6 Add per_listener_settings, which isn't used yet. 8 years ago
Roger A. Light 4d3f5b2b39 Ensure pollfd_index is initialised. 8 years ago
Thomas Pedley ba8734b749 Add LWT message logging.
Signed-off-by: Thomas Pedley <me@shallax.com>
8 years ago
Roger A. Light 9ea0d38002 [706] Serve http /dir/ as /dir/index.html.
Thanks to Jean-Claude Wippler.
8 years ago
Roger A. Light 4f838e5161 Windows fixes. 8 years ago