Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a33e2c9d authored by Mike Yu's avatar Mike Yu
Browse files

Make boot_time::timeout() timeout immediately when passing zero duration

It's possible that the duration returned by Quiche timeout()
is Duration::ZERO. However, boot_time::sleep(Duration::ZERO).await
doesn't wake up immediately in tokio::select. This results in
missing one Quiche on_timeout() call.

Bug: 223356608
Test: cd packages/modules/DnsResolver && atest
Change-Id: Ib9d7fc9792158262d87a86f4e474e618efdbf408
parent b537dfdd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment