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

nats-io / nats-server / 4326
91%
main: 83%

Build:
Build:
LAST BUILD BRANCH: fix_code_coverage
DEFAULT BRANCH: main
Ran 31 Oct 2019 01:55AM UTC
Jobs 1
Files 27
Run time 4s
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

30 Oct 2019 10:04PM UTC coverage: 90.78% (-0.09%) from 90.865%
4326

Pull #1175

travis-ci

web-flow
[FIXED] Server should not send RTT PING before sending initial PONG

As soon as server has processed a client CONNECT, it was possible
that if Connz() or other was requested, the server will send a
PING to compute the RTT. This would cause clients that expect
the first PONG as part of synchronous CONNECT logic to fail.

Make sure that we delay the first RTT ping to after sending the
first PONG, or if client does not send PING as part of the CONNECT,
after 2 seconds have elapsed since the tcp connection was accepted.

Resolves #1174

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
Pull Request #1175: [FIXED] Server should not send RTT PING before sending initial PONG

19 of 19 new or added lines in 2 files covered. (100.0%)

17064 of 18797 relevant lines covered (90.78%)

78570.24 hits per line

Jobs
ID Job ID Ran Files Coverage
2 4326.2 (GO111MODULE=off) 31 Oct 2019 01:55AM UTC 0
90.78
Travis Job 4326.2
Source Files on build 4326
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4326
  • Pull Request #1175
  • PR Base - master (#4315)
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