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

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

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

05 Sep 2017 06:48PM UTC coverage: 72.362%. First build
46.1

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

Source Files on job 46.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 46
  • Travis Job 46.1
  • 2fb4f8c2 on github
  • Next Job for on fix/thread-safe-close (#48.1)
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