keepalive/

directory
v0.0.0-...-ef0f617 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0

README

Keepalive

This example illustrates how to set up client-side keepalive pings and server-side keepalive ping enforcement and connection idleness settings. For more details on these settings, see the full documentation.

go run server/main.go
GODEBUG=http2debug=2 go run client/main.go

Directories

Path Synopsis
Binary client demonstrates how to configure keepalive pings to maintain connectivity and detect stale connections.
Binary client demonstrates how to configure keepalive pings to maintain connectivity and detect stale connections.
Binary server demonstrates how to enforce keepalive settings and manage idle connections to maintain active client connections.
Binary server demonstrates how to enforce keepalive settings and manage idle connections to maintain active client connections.

Jump to

Keyboard shortcuts

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