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

lunarmodules / copas / 30401607642
86%

Build:
DEFAULT BRANCH: master
Ran 28 Jul 2026 09:42PM UTC
Jobs 6
Files 7
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

28 Jul 2026 09:40PM UTC coverage: 85.624% (-0.1%) from 85.764%
30401607642

push

github

Tieske
fix(http): do not send literal IP addresses as the TLS SNI name

RFC 6066 forbids IP literals in the SNI extension, but the SNI
fallback used u.host unconditionally, so connecting (directly or via
redirect) to a bare IPv4/IPv6 address sent that address as the SNI
name instead of a real hostname.

Added ishostliteral() to detect IPv4/IPv6 literals and skip the
fallback for them. When no usable name is available, ssl_params.sni
is collapsed to false so copas.lua's connect() omits the SNI
extension entirely rather than send a bogus name.

5 of 8 new or added lines in 1 file covered. (62.5%)

24 existing lines in 6 files now uncovered.

1495 of 1746 relevant lines covered (85.62%)

55712.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
87.18
0.16% src/copas/http.lua

Coverage Regressions

Lines Coverage ∆ File
17
87.18
0.16% src/copas/http.lua
2
81.05
0.66% src/copas.lua
2
90.63
-1.56% src/copas/timer.lua
1
98.15
-1.85% src/copas/future.lua
1
93.62
-1.06% src/copas/lock.lua
1
96.72
-0.82% src/copas/semaphore.lua
Jobs
ID Job ID Ran Files Coverage
1 30401607642.1 28 Jul 2026 09:42PM UTC 7
85.21
GitHub Action Run
2 30401607642.2 28 Jul 2026 09:42PM UTC 7
85.21
GitHub Action Run
3 30401607642.3 28 Jul 2026 09:42PM UTC 7
85.14
GitHub Action Run
4 30401607642.4 28 Jul 2026 09:42PM UTC 7
84.7
GitHub Action Run
5 30401607642.5 28 Jul 2026 09:42PM UTC 7
85.16
GitHub Action Run
6 30401607642.6 28 Jul 2026 09:42PM UTC 7
84.88
GitHub Action Run
Source Files on build 30401607642
  • Tree
  • List 7
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b980a28c on github
  • Prev Build on master (#30393617921)
  • Next Build on master (#30428567398)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc