• Jake Cobb's avatar
    Prevent DOS by asserts in TCP tuning (#2492) · 5d5263ed
    Jake Cobb authored
    * Prevent DOS by asserts in TCP tuning
    
    -Propagates socket option errors from the
    tuning functions to the callers.
    -Asserts a subset of error conditions during tuning,
    excluding external network causes.
    -Checks tuning results in 3 call sites and treats
    them like failures to connect, accept, etc.
    
    * Fix variable name
    
    * Remove lambda requiring C++11
    5d5263ed
tcp.cpp 11.1 KB