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

nats-io / ts-nats / 92
88%

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

pending completion
92

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

Jobs
ID Job ID Ran Files Coverage
3 92.3 17 Jan 2019 03:49PM UTC 0
91.36
Travis Job 92.3
Source Files on build 92
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #92
  • 9bab3fc2 on github
  • Prev Build on master (#91)
  • Next Build on master (#107)
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

© 2025 Coveralls, Inc