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

nats-io / ts-nats / 92 / 3
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 17 Jan 2019 03:49PM UTC
Files 11
Run time 1min
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

17 Jan 2019 03:47PM UTC coverage: 91.359% (+0.1%) from 91.26%
92.3

push

travis-ci

web-flow
[NEW] Auto-TLS upgrade (#28)

* [NEW] Auto-TLS upgrade - tls connections have traditionally depended on the `tls` option being set. This option is multi-valued (undefined|boolean|tlsOptions) is problematic because it's meaning is complex:

If not set or false, connecting to a tls server fails
If set to true or tlsOptions, connecting to non-tls server fails

In the case where the certificates are not self-signed, the CA will need to be provided, but in the case the connection is expecting to be TLS from a specific CA.

If the value is not set, the connection should be allowed to be bare or tls.

It would be better if the protocol for the connection specified what to expect from the server but unfortunately this also has issues, as gossiped servers get a protocol specified by the client and not by the server doing the gossiping.

This change relaxes the situation where the `tls` connection option is not set and thus allows the client to connect to a bare or tls secured server. While still rejecting or requiring tls if the property is set.

* updated doc

440 of 529 branches covered (83.18%)

Branch coverage included in aggregate %.

1093 of 1149 relevant lines covered (95.13%)

15340.78 hits per line

Source Files on job 92.3
  • Tree
  • List 0
  • Changed 10
  • Source Changed 2
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 82
  • Travis Job 92.3
  • 9bab3fc2 on github
  • Prev Job for on master (#91.3)
  • Next Job for on master (#107.2)
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