You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: irpc-iroh/examples/0rtt.rs
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,9 @@ async fn main() -> Result<()> {
49
49
no_0rtt,
50
50
wait_for_ticket,
51
51
} => {
52
+
if !no_0rtt && !wait_for_ticket {
53
+
eprintln!("0-RTT is enabled but wait_for_ticket is not set. After 2 requests with 0rtt the 0rtt resumption tickets will be consumed and a connection will be done without 0rtt.");
0 commit comments