Commit Graph

11 Commits (f6939d4cbbd7814d4d825a94f5de1c718e688318)

Author SHA1 Message Date
Roger A. Light 2078b6381a Log CONNACK result for clients. 10 years ago
Roger A. Light cdbe62c2bb Outgoing messages with QoS>0 are no longer retried after a timeout.
This change in behaviour can be justified by considering when the
timeout may have occurred.

* If a connection is unreliable and has dropped, but without one end
  noticing, the messages will be retried on reconnection. Sending
  additional PUBLISH or PUBREL would not have changed anything.

* If a client is overloaded/unable to respond/has a slow connection then
  sending additional PUBLISH or PUBREL would not help the client catch
  up. Once the backlog has cleared the client will respond. If it is not
  able to catch up, sending additional duplicates would not help either.
11 years ago
Roger A. Light 21946ace6c mosquitto__log_printf -> log__printf 11 years ago
Roger A. Light 3c703408f2 More function renaming. 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 11756d24c8 Change internal funcs _foo_bar() to foo__bar(). 11 years ago
Roger A. Light 1257fd49eb Fixes for clients that disconnect very quickly. 11 years ago
Roger A. Light 87579e0cac Remove STRICT_PROTOCOL #ifdefs. 12 years ago
Roger Light 0364bd1be7 Initial contribution. 12 years ago