Skip to content

Failed to pass a TLS acceptor #279

Answered by jbr
treywelsh asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! Thanks for using trillium! In this case, the Config does need to contain a generic so the type changes between branches.

I was unable to confirm that this works because you have not checked your Cargo.toml into the git repository, but I believe that this patch should resolve your issue:

diff --git forkSrcPrefix/src/main.rs forkDstPrefix/src/main.rs
index e0d380fdcf4250492fe99c46f6117a7a048415f8..cb5fd9dd4c93f22a18f9f59617615fee9b599183 100644
--- forkSrcPrefix/src/main.rs
+++ forkDstPrefix/src/main.rs
@@ -75,20 +75,23 @@ async fn server(cfg: config::Config) -> Result<(), Error> {
         server_config = server_config.with_max_connections(cfg.max_conn);
     }
 
+    let app = (
+

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by treywelsh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants