Skip to content

Conversation

@Morpheus9
Copy link

This is the draft for a possible solution for issue #45

Possible optimizations:

  • The location of dangerous.rs is not optimal,yet.
    I'd suggest to create a new folder "connectors" and move the RustlsConnector and a possible TcpConnector into that folder.
  • the body of new_with_clientconfig() in client.rs is equal to the last part of new. To remove doubled code one could replace the last part of new with a call of new_with_clientconfig(config).

Björn Mönikes and others added 6 commits October 24, 2024 18:03
Add a new constructor which allows to create a RustlsConnector
with a custom ClientConfig.
… destinations

The module dangerous contains an implemenation of the
ServerCertVerifyer which accepts any certificate given and a helper
function generate_non_verifying_config which allows the library user
to construct a ClientConfig using the new ServerCertVerifyer.
@djc
Copy link
Owner

djc commented Nov 15, 2024

This should be addressed with #59.

@djc djc closed this Nov 15, 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