Lightstreamer / Lightstreamer-lib-client-dotnet

Lightstreamer .Net Standard Client SDK
Apache License 2.0
3 stars 1 forks source link

call a bunch of bind_session when network error #2

Closed phandienthinh closed 2 years ago

phandienthinh commented 2 years ago

After app got disconnect/issue connect, client will call bind_session loop many times without delay.

Then I digging code and saw that function bindSent used Unix Expoch Time but function calculateRetryDelay use DateTime.Now for calculated. I have add a attachment file for fixed this issues - all time will use Unix Expoct Time Session.txt

Bravo27 commented 2 years ago

Thanks for reporting the issue, I can confirm that we will update the code with something similar to your changes.

Bravo27 commented 2 years ago

Fixed with commit 7728c9b