#tls #sockets #plain #api #stream #testing

tls-api-not-tls-2

TLS API implementation which returns plain sockets. This is NOT TLS implementation.

1 unstable release

0.11.0 May 8, 2024

#28 in #plain

Download history 154/week @ 2025-03-11 105/week @ 2025-03-18 120/week @ 2025-03-25 118/week @ 2025-04-01 130/week @ 2025-04-08 133/week @ 2025-04-15 221/week @ 2025-04-22 173/week @ 2025-04-29 114/week @ 2025-05-06 81/week @ 2025-05-13 85/week @ 2025-05-20 266/week @ 2025-05-27 86/week @ 2025-06-03 66/week @ 2025-06-10 114/week @ 2025-06-17 157/week @ 2025-06-24

454 downloads per month

MIT/Apache

105KB
2.5K SLoC

Fake implementation of TLS API: returned streams are not TLS streams, but wrapped plain socket streams.

Can be useful for tests or to measure the overhead of TLS.

Use at your own risk.


tls-api-not-tls-2

This is a fork of tls-api-not-tls with updated dependencies.

Implementation which returns the (wrapped) socket in connect and accept operations. No TLS.

Might be useful in writing tests or something.

Dependencies

~8–24MB
~397K SLoC