Currently our configuration flag for keep-alives is an all-or-nothing: it's a bool, so keep-alives are either on or off.
We could instead introduce a callback instead that lets the application decide if the connection should be kept alive.
quic.Config{
KeepAlive func() bool
}
Open question: when exactly should this callback be called?
Currently our configuration flag for keep-alives is an all-or-nothing: it's a bool, so keep-alives are either on or off.
We could instead introduce a callback instead that lets the application decide if the connection should be kept alive.
Open question: when exactly should this callback be called?