Roger A. Light
|
46ccc2efe9
|
[463479] Make _mosquitto_mid_generate() thread safe.
Thanks to bdwalker.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=463479
|
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
|
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
|
3ed5c94038
|
Struct optimisations.
|
11 years ago |
Roger A. Light
|
39ffd6fa36
|
Handle "error" codes from SSL_connect() correctly.
|
11 years ago |
Roger A. Light
|
aca979a473
|
[457371] Fix building for WITH_TLS=no
Thanks to Micheal Laing.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=457371
|
11 years ago |
Roger A. Light
|
f8f794c531
|
Allow expiring clients to be cleaned up.
|
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
|
d30d711c3b
|
Improve struct layouts for memory usage.
|
11 years ago |
Roger A. Light
|
5603d6a44d
|
Remove unused struct members.
|
11 years ago |
Roger A. Light
|
d2dbe16d68
|
Client structs store sub information to make _subs_clean_session more efficient.
|
11 years ago |
Roger A. Light
|
42420cae46
|
Add experimental SOCKS5 support for the clients.
|
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
|
95a4ec431d
|
Don't try to disconnect twice.
|
11 years ago |
Roger A. Light
|
bdb3e74100
|
More memory fixes.
|
11 years ago |
Roger A. Light
|
764b7e0a91
|
Use hash functions to store client data.
|
11 years ago |
Roger A. Light
|
4bb7a45b71
|
Crude, hard coded websockets support. No TLS.
|
12 years ago |
Roger Light
|
0364bd1be7
|
Initial contribution.
|
12 years ago |