Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: expose keepalive configuration on TcpSocket #3146

Closed
wants to merge 4 commits into from

Commits on Nov 16, 2020

  1. net: Add send/recv buf size methods to TcpSocket

    This commit adds `set_{send, recv}_buffer_size` methods to `TcpSocket`
    for setting the size of the TCP send and receive buffers, and `{send,
    recv}_buffer_size` methods for returning the current value. These just
    call into similar methods on `mio`'s `TcpSocket` type, which were added
    in tokio-rs/mio#1384.
    
    Refs: #3082
    
    Signed-off-by: Eliza Weisman <[email protected]>
    hawkw committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    2b066fb View commit details
    Browse the repository at this point in the history
  2. net: add TcpSocket::set_keepalive

    Signed-off-by: Eliza Weisman <[email protected]>
    hawkw committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    db8d30d View commit details
    Browse the repository at this point in the history
  3. net: add TcpSocket::set_keepalive_params

    Signed-off-by: Eliza Weisman <[email protected]>
    hawkw committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    3b1708c View commit details
    Browse the repository at this point in the history
  4. doctest fixup

    Signed-off-by: Eliza Weisman <[email protected]>
    hawkw committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    6a5859a View commit details
    Browse the repository at this point in the history