mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2020-11-18 19:53:40 -08:00
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