mirror of https://github.com/grpc/grpc-go.git
Fix: error message using correct keepalive config value (#7038)
This commit is contained in:
parent
f1cf6bf0b7
commit
c31cec33dd
|
|
@ -1208,7 +1208,7 @@ func (t *http2Server) keepalive() {
|
|||
continue
|
||||
}
|
||||
if outstandingPing && kpTimeoutLeft <= 0 {
|
||||
t.Close(fmt.Errorf("keepalive ping not acked within timeout %s", t.kp.Time))
|
||||
t.Close(fmt.Errorf("keepalive ping not acked within timeout %s", t.kp.Timeout))
|
||||
return
|
||||
}
|
||||
if !outstandingPing {
|
||||
|
|
|
|||
Loading…
Reference in New Issue