• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

grpc / grpc-java / #20076
89%
master: 89%

Build:
Build:
LAST BUILD BRANCH: v1.79.x
DEFAULT BRANCH: master
Ran 13 Nov 2025 02:53PM UTC
Jobs 1
Files 621
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Nov 2025 02:41PM UTC coverage: 88.533% (+0.01%) from 88.522%
#20076

push

github

ejona86
okhttp: Fix bidirectional keep-alive causing spurious GO_AWAY

When bidirectional keep-alive is enabled (both client and server
sending keep-alive pings), the server incorrectly validates ping
acknowledgments (ACKs) sent in response to server-initiated pings.
This causes the KeepAliveEnforcer strike counter to increment for
legitimate protocol responses, eventually triggering a GO_AWAY with
ENHANCE_YOUR_CALM.

Move the keepAliveEnforcer.pingAcceptable() check inside the !ack
conditional block, so only client-initiated ping requests are
validated. Ping ACKs now bypass enforcement entirely, enabling
bidirectional keep-alive to work correctly.

Fixes #12417

34973 of 39503 relevant lines covered (88.53%)

0.89 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.17
-0.14% ../okhttp/src/main/java/io/grpc/okhttp/OkHttpClientTransport.java
2
81.05
-2.11% ../okhttp/src/main/java/io/grpc/okhttp/ExceptionHandlingFrameWriter.java
2
82.26
3.23% ../servlet/src/main/java/io/grpc/servlet/ServletAdapter.java
3
93.22
-1.69% ../core/src/main/java/io/grpc/internal/AbstractClientStream.java
3
86.83
-1.23% ../core/src/main/java/io/grpc/internal/DelayedClientCall.java
Jobs
ID Job ID Ran Files Coverage
1 #20076.1 13 Nov 2025 02:53PM UTC 621
88.53
Source Files on build #20076
  • Tree
  • List 621
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20076
  • 6fc3fd04 on github
  • Prev Build on v1.77.x
  • Next Build on v1.77.x
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc