Skip to content

Commit c31cec3

Browse files
authored
Fix: error message using correct keepalive config value (#7038)
1 parent f1cf6bf commit c31cec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/transport/http2_server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,7 @@ func (t *http2Server) keepalive() {
12081208
continue
12091209
}
12101210
if outstandingPing && kpTimeoutLeft <= 0 {
1211-
t.Close(fmt.Errorf("keepalive ping not acked within timeout %s", t.kp.Time))
1211+
t.Close(fmt.Errorf("keepalive ping not acked within timeout %s", t.kp.Timeout))
12121212
return
12131213
}
12141214
if !outstandingPing {

0 commit comments

Comments
 (0)