Commit Graph

1018 Commits (7f0b4d62713efce6e2cf49396307b55837eebcda)
 

Author SHA1 Message Date
Roger A. Light 7615ae24ce Handle CONNECT protocol errors.
Don't allow username when no username flag set.
Don't allow password when no password flag set.

Closes #730. Closes #731.

Thanks to Umberto Boscolo.
8 years ago
Roger A. Light 729a09310a Add UTF-8 tests, plus some validation fixes.
Closes #693.
8 years ago
Roger A. Light e961bc9301 Comment to aid init_ssl_ctx understanding. 8 years ago
Roger A. Light a50d7c7f04 pub/sub typo. 8 years ago
Roger A. Light 151d36ffaa Add clients to snap. 8 years ago
Roger A. Light 6a2172f472 Windows fixes. 8 years ago
Roger A. Light 90d9831e73 Update appveyor to take into account now available packages. 8 years ago
Roger A. Light f4c9435f54 Use server methods in the broker. 8 years ago
Roger A. Light 2d9fab123e Use SSL_CTX_up_ref() with MOSQ_OPT_SSL_CTX*.
This limits the use of those options to openssl 1.1.0 and greater.
8 years ago
Roger A. Light b649799c78 Protect mosq->ssl_ctx against double initialisation. 8 years ago
Roger A. Light 9476d8abcb Document mosquitto_sub timeout. 8 years ago
Roger A. Light 9852f94ee0 Merge branch 'sub_client_timeout_upstream' of git://github.com/I2SE/mosquitto into I2SE-sub_client_timeout_upstream 8 years ago
hailinzeng a6aa3bc5f9 remove dead code
Signed-off-by: hailinzeng <hailinzeng@gmail.com>
8 years ago
Tifaifai Maupiti 4fc90248c5 Fix _POSIX_C_SOURCE : 199309L to 200809L
Signed-off-by: Tifaifai Maupiti <tifaifai.maupiti@gmail.com>
8 years ago
Roger A. Light 5ff8127f44 Fix will sending for duplicate clients.
When a client with an in-use client-id connects, if the old client has a
will, send the will message. Closes #26.

Thanks to Pierre F.
8 years ago
Roger A. Light 943b311344 Don't use deprecated openssl functions. 8 years ago
Roger A. Light c95f24c342 Missing includes. 8 years ago
Roger A. Light a5781c0b46 Missing #endif. 8 years ago
Roger A. Light 24d68b5af8 Remove support for openssl 1.0.0 and 1.0.1.
These are no longer supported by openssl.
8 years ago
Roger A. Light 8470ca89b9 Add MOSQ_OPT_SSL_CTX and MOSQ_OPT_SSL_CTX_WITH_DEFAULTS options.
Closes #567 and #715.
8 years ago
Roger A. Light 406c67e6f8 Don't pass -std=c99 to C++ build. 8 years ago
Roger A. Light 615d6a2c41 Remove unused file. 8 years ago
Roger A. Light f4d238be18 Bump copyright years. 8 years ago
Roger A. Light 28dd14fcea Separate out functions from mosquitto.c to aid discoverability. 8 years ago
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