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

thibaultcha / lua-cassandra / 1172 / 2
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 18 Feb 2021 12:52AM UTC
Files 3
Run time 0s
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

18 Feb 2021 12:19AM UTC coverage: 95.971% (+0.008%) from 95.963%
LUAROCKS=3.2.1 OPENRESTY=1.15.8.2 DOWNLOAD_CACHE=$HOME/download-cache INSTALL_CACHE=$HOME/install-cache PERL_DIR=$HOME/perl5 LUA="lua 5.2"

push

travis-ci

thibaultcha
<a href="https://github.com/thibaultcha/lua-cassandra/commit/<a class=hub.com/thibaultcha/lua-cassandra/commit/d742d5ca844a23da487b8f33e67559ff369e62a9">d742d5ca8<a href="https://github.com/thibaultcha/lua-cassandra/commit/d742d5ca844a23da487b8f33e67559ff369e62a9">&quot;&gt;feat(*) set default LuaSec protocol to &amp;#39;any&amp;#39; &amp;amp; expose option

Allows changing the TLS encryption version.

The underlying luasec library allows for setting the encryption protocol
to &amp;#39;any&amp;#39; [1]. When set as such, the client negotiates the highest
encryption protocol available. This `any` protocol version setting is
widely in use in the luasec repository [2].

In my testing, when `any` is set, it resulted in TLSv1.2 being utilized
for the conneciton. While I expected TLSv1.3 to be utilized, after some
research, I discovered that JDK 8 has had TLSv1.3 support backported
to it but TLSv1.3 is not enabled by default and requires extra
configuration when starting the JVM [3].

Partially implements #106.

[1] - https://github.com/brunoos/luasec/blob/</a><a class="double-link" href="https://github.com/thibaultcha/lua-cassandra/commit/<a class="double-link" href="https://github.com/thibaultcha/lua-cassandra/commit/711a98b7605ad87b521ba607024947113bc1f527">711a98b76</a>">711a98b76</a><a href="https://github.com/thibaultcha/lua-cassandra/commit/d742d5ca844a23da487b8f33e67559ff369e62a9">/CHANGELOG#L101
[2] - https://github.com/brunoos/luasec/search?q=protocol+%3D+%22any%22
[3] - https://www.oracle.com/java/technologies/javase/8u261-relnotes.html#JDK-8145252

Signed-off-by: Jeremy J. Miller &lt;jeremy.miller@konghq.com>
Signed-off-by: Thibault Charbonnier <thibaultcha@me.com>

1048 of 1092 relevant lines covered (95.97%)

1223.32 hits per line

Source Files on job 1172.2 (LUAROCKS=3.2.1 OPENRESTY=1.15.8.2 DOWNLOAD_CACHE=$HOME/download-cache INSTALL_CACHE=$HOME/install-cache PERL_DIR=$HOME/perl5 LUA="lua 5.2")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1136
  • Travis Job 1172.2
  • d742d5ca on github
  • Prev Job for LUAROCKS=3.2.1 OPENRESTY=1.15.8.2 DOWNLOAD_CACHE=$HOME/download-cache INSTALL_CACHE=$HOME/install-cache PERL_DIR=$HOME/perl5 LUA="lua 5.2" on master (#1169.2)
  • Next Job for LUAROCKS=3.2.1 OPENRESTY=1.15.8.2 DOWNLOAD_CACHE=$HOME/download-cache INSTALL_CACHE=$HOME/install-cache PERL_DIR=$HOME/perl5 LUA="lua 5.2" on master (#1173.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