Skip to content
  • Ondřej Surý's avatar
    Change the isc_nm_(get|set)timeouts() to work with milliseconds · 36ddefac
    Ondřej Surý authored
    The RFC7828 specifies the keepalive interval to be 16-bit, specified in
    units of 100 milliseconds and the configuration options tcp-*-timeouts
    are following the suit.  The units of 100 milliseconds are very
    unintuitive and while we can't change the configuration and presentation
    format, we should not follow this weird unit in the API.
    
    This commit changes the isc_nm_(get|set)timeouts() functions to work
    with milliseconds and convert the values to milliseconds before passing
    them to the function, not just internally.
    36ddefac