Skip to content

Commit

Permalink
enlarging rtt for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Feb 1, 2024
1 parent 4665650 commit 4372021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Network/TLS/Handshake/Common13.hs
Original file line number Diff line number Diff line change
Expand Up @@ -590,5 +590,5 @@ setRTT :: Context -> Millisecond -> IO ()
setRTT ctx chSentTime = do
shRecvTime <- getCurrentTimeFromBase
let rtt' = shRecvTime - chSentTime
rtt = if rtt' == 0 then 5 else rtt'
rtt = if rtt' == 0 then 10 else rtt'
modifyTLS13State ctx $ \st -> st{tls13stRTT = rtt}

0 comments on commit 4372021

Please sign in to comment.