eclipse / paho.golang

Go libraries
Other
330 stars 92 forks source link

paho/session/state/initSession issues #173

Closed MattBrittan closed 10 months ago

MattBrittan commented 10 months ago

Describe the bug

Spotted two issues; logging them so they are not forgotten:

The second issue is the result of a lot of edits in this area to try and find the best approach (s.clientPackets is now populated as the packets are resent to avoid the need to retrieve the packets multiple times). a bit of refactoring will be needed to handle this (would be good to find a way to properly handle changes to recvMax whilst addressing this issue).

Software used:

@master 27c89b5450f2bec03b2c1ee6e058f5e38f44e657

MattBrittan commented 10 months ago

These were both resolved in #180