quic-idle-timeout

command
v1.6.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Example: QUIC Idle Timeout Configuration

This example demonstrates configuring QUIC idle timeout for HTTP/3 connections to prevent connection drops on long-lived idle connections.

By default, QUIC connections have a 30-second idle timeout. If your application keeps connections open for longer periods without activity (e.g., connection pooling, long polling), you may need to increase this value.

The keepalive is automatically set to half of the idle timeout to prevent connection closure.

Run: go run main.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL