[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libreswan-commit
Subject:    [Swan-commit] Changes to ref refs/heads/master
From:       cagney () vault ! libreswan ! fi (Andrew Cagney)
Date:       2017-12-22 18:50:55
Message-ID: 20171222185055.89AC3314BB47 () vault ! libreswan ! fi
[Download RAW message or body]

New commits:
commit a575b4cb4e70c77f6d10aea64d3484ebcc41a576
Author: Andrew Cagney <cagney@gnu.org>
Date:   Fri Dec 22 12:32:34 2017 -0500

    retransmits: work-around discrepancy between monotime_t and event-loop time
    
    For instance, after retransmits with delays 15s, 15s, and 30s, the
    total time should exceed (>=) 60s yet, according to monotime_t, this
    is completed in only 59.983s and since that is less than the timeout
    (60s here) an extra retransmit gets scheduled.
    
    The work-around is to also accumulate the delays and compare
    that against the timeout.
    
    (this problem really becomes apparent when monotime_t has sub second
    resolution)

_______________________________________________
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic