Commit Graph

27 Commits

Author SHA1 Message Date
JB
aaf1d9d4c6 Configurable client bufio reader/writer sizes (#190) 2023-03-11 23:13:28 +00:00
JB
e5716caad1 Fix potential NextPacketID endless loop, expand tests (#169)
* Fix possible NextPacketID endless loop, expand tests

* Optimize NextPacketID

* Use math constants
2023-02-10 23:27:21 +00:00
JB
bb54cc68e6 Client write buffers (#165)
* Replace fanpool with client write buffers
2023-02-09 22:34:30 +00:00
mochi-co
c464b46713 export client.Net.Conn for external use 2023-01-09 22:49:40 +00:00
thedevop
fb8d4720d7 Add Client Closed (#130)
* Add Client Closed
* Add Client Closed
* Update clients_test.go
2023-01-07 17:14:51 +00:00
JB
e31840a37d Optimize inflight expiry (#127)
* Small formatting/style changes for filter existed

* Use OnQoSDropped hook instead of onInflightExpired
2022-12-21 19:44:25 +00:00
JB
d8f28cb843 Enforce server max packet (#121)
* Enforce Server Maximum Packet Size on client read
* Fix tests
2022-12-16 00:30:23 +00:00
mochi-co
fe5d9ffa61 Simplify Client construction, add NewClient method to Server, add Publish convenience method 2022-12-12 11:37:19 +00:00
mochi-co
8a04648c09 Cleanup godoc formatting 2022-12-11 21:38:01 +00:00
mochi-co
74ed8cd046 Update go mod and imports to v2 2022-12-11 11:50:44 +00:00
mochi-co
898c90d4ca Rewrite everything from scratch for mqtt v5 2022-12-10 21:49:32 +00:00
Mochi
ad6ae7e8c6 New Packets 2019-11-17 19:55:54 +00:00
Mochi
5d0aa0f1b5 More Tests 2019-11-02 16:46:21 +00:00
Mochi
d8bba41da4 Debug func, better closers 2019-10-27 11:00:50 +00:00
Mochi
c3af69f714 Move Parser, cleanup to basic 2019-10-09 08:30:57 +01:00
Mochi
e9c6915e00 Cleanup, Tests fix, Client closers 2019-10-08 10:55:08 +01:00
Mochi
956633a653 midway various pointer bytes fixes 2019-10-08 01:14:14 +01:00
Mochi
c04e02a086 Cleanup 2019-10-07 20:37:38 +01:00
Mochi
174559e456 Fix Error nil/contains checks 2019-10-07 20:14:04 +01:00
Mochi
e3680539b3 Performance changes 2019-10-07 17:55:33 +01:00
Mochi
49d528dcf9 Cleanup tests and benchmarks 2019-10-07 17:13:54 +01:00
Mochi
a48fb26087 Handle CleanSession 2019-10-07 13:57:25 +01:00
Mochi
aaa8c754c7 Write Client coverage 2019-10-07 11:37:12 +01:00
Mochi
2a154012bf Refactor Tests 2019-10-06 23:02:34 +01:00
Mochi
e6950e7904 Refactor Clients into Server 2019-09-29 15:03:10 +01:00
Mochi
c6d0b3a085 Refactor Client read to Server 2019-09-28 12:49:01 +01:00
Mochi
951c4e3fc7 Client Tests 2019-09-27 22:48:06 +01:00