Skip to content

allow full arguments with TLS.Client|Server.create_connection - #208

Closed
CodiePP wants to merge 1 commit into
anmonteiro:masterfrom
CodiePP:full_arguments_with_create_connection
Closed

allow full arguments with TLS.Client|Server.create_connection#208
CodiePP wants to merge 1 commit into
anmonteiro:masterfrom
CodiePP:full_arguments_with_create_connection

Conversation

@CodiePP

@CodiePP CodiePP commented Feb 11, 2023

Copy link
Copy Markdown

Signed-off-by: Alexander Diemand codieplusplus@apax.net

This change allows to pass in more arguments to the basic Tls_io functions to setup its Tls.Config (via the package gluten).

This allows to more finegrained control the TLS handshake and improve security.

An example of its usage is in: https://github.com/CodiePP/ml-grpc-examples

(an accompanying PR is submitted to anmonteiro/gluten#52)

Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
@anmonteiro

Copy link
Copy Markdown
Owner

this can be done by doing the handshake with your own Tls.Config and calling create_connection on one of the runtimes, like this example shows for eio.

@anmonteiro anmonteiro closed this Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants