Details
Description
Add a ForceResync option Y/N per session to help application developers work with servers UAT withtou the need of a perfect synchronization in the sequenceing.
This option will be used:
- when the server rejects a logon with a logout and error message such as "expected iii but received jjj"; automatically re-sync using iii from the error message.
- when target is too low, force the current sequence value using the target message value
- when the target is too high and the gap is greater than a constant threshold, skip the resend process and directly resync the values
Each force-resync operation should output a warning in the logs