Commit ad439407 authored by Adphi's avatar Adphi

set windows min rtt to 1ms

parent 161ff77f
......@@ -40,7 +40,7 @@ func (s *history) addResult(rtt time.Duration, err error) {
s.received++
// On windows there may be rtt 0 caused by bad time resolution
if rtt == 0 {
rtt = 1000
rtt = time.Millisecond
}
} else {
s.lost++
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment