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

websockets / ws / 9534899047 / 9
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: feature-option-closeTimeout
DEFAULT BRANCH: master
Ran 16 Jun 2024 09:25AM UTC
Files 14
Run time 10s
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

16 Jun 2024 09:17AM UTC coverage: 99.807%. First build
9534899047.9

Pull #2231

github

lpinca
[security] Fix crash when the Upgrade header cannot be read

It is possible that the Upgrade header is correctly received and handled
(the `'upgrade'` event is emitted) without its value being returned to
the user. This can happen if the number of received headers exceed the
`server.maxHeadersCount` or `request.maxHeadersCount` threshold. In this
case `incomingMessage.headers.upgrade` may not be set.

Handle the case correctly and abort the handshake.

Fixes #2230
Pull Request #2231: Fix crash when the Upgrade header cannot be read

1071 of 1078 branches covered (99.35%)

1555 of 1558 relevant lines covered (99.81%)

910.46 hits per line

Source Files on job 92512a7bad2e1fa95dfeb01e9f10d692 (Node.js 16 x64 on windows-latest) - 9534899047.9
  • Tree
  • List 14
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 9534899047
  • dec10b68 on github
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