Skip to content

Commit

Permalink
Fix: error message using correct keepalive config value (#7038)
Browse files Browse the repository at this point in the history
  • Loading branch information
BatmanAoD authored Apr 3, 2024
1 parent f1cf6bf commit c31cec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/transport/http2_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c31cec3

Please sign in to comment.