Turned back to OpenSSL, with static link

This commit is contained in:
Ara Sadoyan
2025-05-21 15:54:38 +02:00
parent 8c192d9990
commit fce25b8d15
4 changed files with 226 additions and 506 deletions

View File

@@ -84,7 +84,13 @@ impl ProxyHttp for LB {
peer.options.verify_cert = false;
peer.options.verify_hostname = false;
}
// println!(" ==> {} ==> {} => {} => {:?}", hostname, address.as_str(), peer.options.alpn, is_h2);
// info!(
// "upstream peer: hostname {}, address{}, alpn {}, h2 {:?}",
// hostname,
// address.as_str(),
// peer.options.alpn,
// is_h2
// );
_ctx.backend_id = format!("{}:{}:{}", address.clone(), port.clone(), ssl);
Ok(peer)
}