mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-04-01 01:25:32 +00:00
get connection ownership on wrap
This commit is contained in:
parent
e437d35acf
commit
1c50fadfde
2 changed files with 11 additions and 8 deletions
|
|
@ -82,9 +82,9 @@ impl Client {
|
|||
move |result| match result {
|
||||
Ok(connection) => {
|
||||
match Connection::new_wrap(
|
||||
&connection,
|
||||
certificate.as_ref(),
|
||||
Some(&network_address),
|
||||
connection,
|
||||
certificate,
|
||||
Some(network_address),
|
||||
) {
|
||||
Ok(result) => request_async(
|
||||
result,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue