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

libp2p / go-ws-transport / 46
73%
master: 73%

Build:
Build:
LAST BUILD BRANCH: gx/update-5osgb9
DEFAULT BRANCH: master
Ran 05 Sep 2017 06:51PM UTC
Jobs 1
Files 5
Run time 3min
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

pending completion
46

push

travis-ci

Stebalien
Make close thread safe

1. Ensure we only close the connection once. Especially, don't call the done
function multiple times and/or concurrently.
2. Call WriteControl instead of WriteMessage in Close. WriteControl is
thread-safe, WriteMessage isn't.

Also, this sets a 100ms deadline on gracefully closing connections.

144 of 199 relevant lines covered (72.36%)

1.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 46.1 05 Sep 2017 06:51PM UTC 0
72.36
Travis Job 46.1
Source Files on build 46
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #46
  • 2fb4f8c2 on github
  • Next Build on fix/thread-safe-close (#48)
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