1
0
mirror of https://github.com/go-mqtt/mqtt.git synced 2025-09-17 04:22:09 +03:00

26 Commits

Author SHA1 Message Date
Pascal S. de Kloe
2b4db51604 Annotate all errors with request context. Helps lazy loggers plus failfast for exact error matching (instead of errors.Is). 2021-03-17 13:59:22 +01:00
Pascal S. de Kloe
033080ea2a Clarify pendingAck appliance. 2021-03-14 14:30:23 +01:00
Pascal S. de Kloe
4ecaaad6ab Document the hard limits on outbound transit from the Client. 2021-03-14 13:29:46 +01:00
Pascal S. de Kloe
565f4f92e6 Deny empty topic names and filters. 2021-03-14 12:33:07 +01:00
Pascal S. de Kloe
eaf1446552 Deny wandering PUBACK, PUBREC and PUBCOMP. Simplifies confirmation queue too. 2021-03-14 12:06:38 +01:00
Pascal S. de Kloe
d5d54e85fa Eliminate embedded read buffer. 2021-03-03 15:01:29 +01:00
Pascal S. de Kloe
431f503629 Rename writeAll to writeBuffers. 2021-03-03 14:53:57 +01:00
Pascal S. de Kloe
d89976d80f Add missing transaction counter initialization for Adopt session & terminate callbacks in read routine. 2021-03-03 14:40:45 +01:00
Pascal S. de Kloe
0e6bf00918 Please goreportcard.com. 2021-03-03 00:16:35 +01:00
Pascal S. de Kloe
94be253c20 Persistence 🧼 2021-03-02 16:20:18 +01:00
Pascal S. de Kloe
3589554861 FIX: IsDeny mismatch + test all scenario. 2021-02-21 15:21:28 +01:00
Pascal S. de Kloe
5d0687fbd6 Error scenario tuning including new ErrBoke case. 2021-02-20 17:14:02 +01:00
Pascal S. de Kloe
2040f4cd27 Put session setup in the Client constructor. There's no way to prevent fatal errors during instantiation, not even for the volatile case. 2021-02-18 22:29:55 +01:00
Pascal S. de Kloe
1108cc85d7 Rename Store to Persistence + some cleaning. The shorter name doesn't outweight duplicate terminology in documentation and errors. 2021-02-18 21:57:23 +01:00
Pascal S. de Kloe
1541011d71 FIX: unsubscribe space typo. 2021-02-15 19:03:46 +01:00
Pascal S. de Kloe
dabfc4315c FIX: channel typo + ErrDown ack on holdup. 2021-02-15 18:39:18 +01:00
Pascal S. de Kloe
f601864cba Online and offline status propagation. 2021-02-12 19:59:56 +01:00
Pascal S. de Kloe
120df6d71c Introduce offline signal to interrupt acknowledged publish submission. 2021-02-12 18:53:35 +01:00
Pascal S. de Kloe
413f78fb62 Mention conformance statement in retry logic. 2021-02-11 16:42:12 +01:00
Pascal S. de Kloe
951da53342 Refactor session configuration, including integrity checks & self-healing. 2021-02-11 01:45:14 +01:00
Pascal S. de Kloe
e24c496ef7 Holdup queue for publish at quality-of-service level 1 or 2. 2021-02-09 16:14:46 +01:00
Pascal S. de Kloe
11095ddd8d Apply strict quit handling. 2021-02-05 16:27:34 +01:00
Pascal S. de Kloe
322b0dc3c2 Ack no longer optional nor sharable; not worth the complexity and risk of mistakes. 2021-02-03 21:35:28 +01:00
Pascal S. de Kloe
b36ae7316e Refactor packet identifier assigment, with further distinction between subscribe and unsubscribe identifiers. 2021-02-03 20:30:00 +01:00
Pascal S. de Kloe
b5b7f69e48 Documentation tweaks and typos. 2021-02-01 13:37:01 +01:00
Pascal S. de Kloe
1e4e3d1670 Third rewrite which requires a read routine for the user. 2021-01-31 00:57:39 +01:00