private-octopus / picoquic

Minimal implementation of the QUIC protocol
MIT License
544 stars 161 forks source link

Verify the idle timeout negotiation #1596

Closed huitema closed 9 months ago

huitema commented 9 months ago

Add test of idle timeout negotiation, trying 10 combinations of client and server proposed values, including the default value, and negotiating the "infinity" value. Verify that the connection stays up if the timer is not expired, and is closed soon after the timer expires.

Only change in the stack code is to remove a "default_timeout" parameter in the QUIC context, as that parameter was not used.