Roger A. Light
a67d43c8d3
Rename message functions.
11 years ago
Roger A. Light
1744477cf8
Rename/reorganise packet functions.
11 years ago
Roger A. Light
b598aec385
Sys -> user includes.
11 years ago
Roger A. Light
970ba58da6
Code reorganise.
11 years ago
Roger A. Light
d7e3fdf7f7
Don't check set size on Windows.
...
socket is an opaque object on Windows, so this check isn't valid.
11 years ago
Roger A. Light
8de6b92e3c
Fix calls to mosquitto_connect*_async() not completing.
11 years ago
Roger A. Light
11756d24c8
Change internal funcs _foo_bar() to foo__bar().
11 years ago
Roger A. Light
e5010af4df
[464632] Library: Fix possible crash due to select() call.
...
Fix possibility of select() being called with a socket that is >FD_SETSIZE.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=464632
11 years ago
Roger A. Light
22fee31ba4
[464436] Library: Fix outgoing QoS 2 message problem.
...
Inflight message count wasn't being decreased for outgoing messages using
QoS 2, meaning that only up to 20 QoS 2 messages could be sent. This has
been fixed.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=464436
11 years ago
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
0434d1cd9b
[461705] Return -1 on error from mosquitto_socket()
...
Thanks to Mikkel Kirkgaard Nielsen.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=461705
11 years ago
Roger A. Light
2aceb704b5
[463000] Fix reconnect bug on Windows.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=463000
11 years ago
Roger A. Light
6fd38b8c47
Windows fixes.
11 years ago
Roger A. Light
1a14f6fed5
[453293] Don't quit loop_forever() if broker not available.
...
This is a workaround for bug #453293 , a better solution is needed for
1.5.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=453293
11 years ago
Roger A. Light
39ffd6fa36
Handle "error" codes from SSL_connect() correctly.
11 years ago
Roger A. Light
b99dbc01d4
Must initialise protocol field.
11 years ago
Roger A. Light
8a35c3cd0d
Add client support for MQTT v3.1.1.
11 years ago
Roger A. Light
ac5dbd428f
Clear want_write flag after responding to it.
...
Prevents busy loop after e.g. writing a large message when using TLS.
Thanks to Dave Sellars.
11 years ago
Roger A. Light
5b6f6976c7
Fix use of "dup" with pubrel, subscribe, unsubscribe.
...
Thanks to Paolo Patierno.
11 years ago
Roger A. Light
8f8816b092
Fix conditional compilation, add headers.
11 years ago
Roger A. Light
42420cae46
Add experimental SOCKS5 support for the clients.
11 years ago
Roger A. Light
e9c18f8347
mosquitto_loop_forever now quits after a fatal error, rather than blindly retrying.
11 years ago
Roger A. Light
06bec1083d
Expose mosquitto_pub_topic_check() and mosquitto_sub_topic_check().
11 years ago
Roger A. Light
abe72b8e4c
Keep retrying to reconnect without calling loop on failure.
11 years ago
Roger A. Light
1c8433925d
mosquitto_time() calculation to after keepalive check to avoid delays.
11 years ago
Roger A. Light
1257fd49eb
Fixes for clients that disconnect very quickly.
11 years ago
Roger A. Light
aca67a2170
Better function names.
11 years ago
Roger A. Light
9015ee962e
unlock mutex on return.
12 years ago
Roger Light
0364bd1be7
Initial contribution.
12 years ago