mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-18 22:55:08 +08:00
fd9a91afe7
- set `KeepAliveTimeout` default back to 5s, was unintentionally set to 50s in 368 release - fix a bug that duplicate subscriptions were created after reconnect when transfer succeeds. - add a property to enable subscription transfer in reconnect, set `Session.TransferSubscriptionsOnReconnect=true` to enable, IOP issues may not allow to use it with some servers. - add a `SessionReconnectHandler(true)` constructor to support reconnect abort, if the connection recovers before reconnect timer called. If the new constructor is used, its a breaking change: Needs check of `Session` property in Reconnect handler callback, if aborted `Session==null`. - Reduce warning log output if server timestamp > client time. - Add handling when subscriptions can not be transferred, e.g. when false user credentials or no security prevent transfer. - Improve the reconnect timer handling by using `OperationLimit` in reconnect. - Add sample for `SessionReconnectHandler` in console client. - Seperate session sample code from `UAClient`. - Tested on popular demo servers of various SDK vendors. - Fix Winforms ref client