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

nats-io / gnatsd / 1350
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: remoteleaf
DEFAULT BRANCH: master
Ran 17 May 2017 07:42PM UTC
Jobs 1
Files 17
Run time 2s
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
1350

push

travis-ci

tylertreat
[FIXED] Authorization Timeout and TLS

When TLS and authorization is enabled, the authorization timeout can
fire during the TLS handshake, causing the server to write the
authorization timeout error string into the client socket, injecting
what becomes bad data into the TLS handshake. This creates misleading
errors on the client such as tls: oversized record received with length
21024.

This moves the authorization timeout scheduling to after the TLS
handshake to avoid the race. This should be safe since TLS has its own
handshake timeout. Added a unit test that fails with the old behavior
and passes with the new. LMK if you can think of a better way to test
this.

Fixes #432

4917 of 5409 relevant lines covered (90.9%)

2854.96 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1350.2 17 May 2017 07:42PM UTC 0
90.9
Travis Job 1350.2
Source Files on build 1350
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1350
  • fa50a2c1 on github
  • Prev Build on auth_timeout_tls_fix (#1347)
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