Skip to content

Commit

Permalink
Merge pull request #557 from h2o/kazuho/examples-echo-zero-timeout
Browse files Browse the repository at this point in the history
[examples-echo] immediate means now, not 1 second later
  • Loading branch information
kazuho authored Oct 17, 2023
2 parents 05d20c7 + 83da103 commit 9f9f068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/echo.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ static int run_loop(int fd, quicly_conn_t *client)
tv.tv_sec = delta / 1000;
tv.tv_usec = (delta % 1000) * 1000;
} else {
tv.tv_sec = 1000;
tv.tv_sec = 0;
tv.tv_usec = 0;
}
FD_ZERO(&readfds);
Expand Down

0 comments on commit 9f9f068

Please sign in to comment.