Commit Graph

1014 Commits (4bacbecb1bda61afe74d9ca5fa7023d4e9c7dd45)
 

Author SHA1 Message Date
Roger A. Light 4bacbecb1b Fix some places where return codes were incorrect.
Closes #850.

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light fc9a0db966 All clients now time out if they exceed their keepalive*1.5
This was inconsistent before.

Partially addresses #865.
7 years ago
Roger A. Light b07e0c08bf Fix IPv6 addresses not being able to be used as bridge addresses.
Closes #886.

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light bcf76b9cb6 Remove use of AI_ADDRCONFIG.
Closes #869, #901.

Thanks to Alex Richman.

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light f40ccd195d Disable queued bytes test pending a fix.
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light 286400abcf Use AF_UNSPEC etc. instead of PF_UNSPEC to comply with POSIX.
Closes #863.

Thanks to denigmus and Patrick TJ McPhee.

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light 9fd55c0d44 Simplify broker tests with helper function. 7 years ago
Roger A. Light 40e2eab4c4 Disable queued bytes test temporarily. 7 years ago
Roger A. Light a954081673 Print more OpenSSL errors when loading certificates/keys fail.
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Dave Miller 81a82f6fe2 Fix for issue #874
With special acknowledgement to sxsing (his github login) for his
help in development and testing of this fix.

NOTE: Pull-request is against master as the fixes branch has not
been updated with the v1.5 file src/handle_connect.c

Signed-off-by: Dave Miller <dmiller@tibco.com>
7 years ago
Roger A. Light cd271041f5 Add test for issue #874. 7 years ago
Roger A. Light 8bbb5887d0 [Broker] Fix auth plugin cleanup function not being called.
Closes #900.

Thanks to Julian Zhao.

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light ebf4d3a920 Add github pull request template. 7 years ago
Roger A. Light 75fc908bba Fix snap launcher path. 7 years ago
Roger A. Light d8dc336c24 Static websockets option. 7 years ago
Roger A. Light 4c9548cc7c Bump snap version. 7 years ago
Roger A. Light 5e60136449 Merge branch 'develop' 8 years ago
Roger A. Light e9d03c8ffd Merge branch 'fixes' 8 years ago
Roger A. Light 84520296fa Bump version number. 8 years ago
Roger A. Light e90a32835b Merge branch 'fixes' into develop 8 years ago
Roger A. Light 8410a19335 Add fallback case for libressl. 8 years ago
Roger A. Light 1a913bddd9 Fix realpath() usage for nonexistant files. 8 years ago
Roger A. Light 377dc82d3f Fix parsing of configuration options that end with a space.
Closes #804.

Thanks to Nicola Lunghi.
8 years ago
Roger A. Light 6c7ecd7e97 Fix compiling without TLS. 8 years ago
Roger A. Light 51ec5601c2 Fix memory leak that could be caused by a malicious CONNECT packet.
Closes #533493 (on Eclipse bugtracker)

Thanks to Daniel Romero.
8 years ago
Roger A. Light cec1af1386 Don't print uninteresting epoll warnings. 8 years ago
Roger A. Light d3b3ba86f1 Updated crude performance test. 8 years ago
Roger A. Light 95d26bb0e6 Fix build warnings on Mac. 8 years ago
Roger A. Light 5b4a4cfc6a Fix compilation warnings around _BSD_SOURCE. 8 years ago
Roger A. Light 2d1667b120 Remove c99-isms due to problems with dependencies. 8 years ago
Roger A. Light 23230b7b18 Add per-listener acl handling. 8 years ago
Roger A. Light 3c517e617c Fix static mosquitto_sub compiling. 8 years ago
Roger A. Light 62d99ecbc2 Build fixes. 8 years ago
Roger A. Light 79a7b36d20 Don't derefence a null message. 8 years ago
Roger A. Light caa9e46fda Fix bad merge. 8 years ago
Roger A. Light b2bb48ac2b Reference counting for openssl 1.0.2. 8 years ago
Roger A. Light a29ee5db23 Uninstall the actually installed config file. 8 years ago
Roger A. Light 57ee8b92bc Mac build fixes. 8 years ago
Roger A. Light ba71bc3b32 Experimental parallel testing for library. 8 years ago
Roger A. Light 5d2f5c25d7 Experimental parallel testing for broker. 8 years ago
Roger A. Light 51aa7b7121 Update tests as a step towards parallelism. 8 years ago
Roger A. Light 574fb36ede More utf-8 validation. 8 years ago
Roger A. Light 7bf16919f3 Validate config strings as UTF-8. 8 years ago
Roger A. Light 8cb3a29fd7 Fix a variety of protocol handling errors.
Closes #704
Closes #705
Closes #730
Closes #732

Thanks to Umberto Boscolo.
8 years ago
Eric Schneeberger e4e6a67959 Increase maximum connections (Windows) from 512 to 2048 (Maximum)
Signed-off-by: Eric Schneeberger <eric.schneeberger@gtt.com>
8 years ago
Thomas Beckmann (M-Way) ee610ab19a _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
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