You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "baerwang (via GitHub)" <gi...@apache.org> on 2023/02/02 10:04:29 UTC

[GitHub] [dubbo-rust] baerwang commented on a diff in pull request #104: wip: listener add tls

baerwang commented on code in PR #104:
URL: https://github.com/apache/dubbo-rust/pull/104#discussion_r1094305848


##########
dubbo/src/triple/transport/service.rs:
##########
@@ -166,6 +203,11 @@ impl DubboServer {
                     match res {
                         Ok(conn) => {
                             let (io, local_addr) = conn;
+                            if !acceptor.is_none(){
+                                // todo
+                                io = acceptor.as_ref().unwrap().clone().accept(io).await?;

Review Comment:
   tokio的conn是accept<io>,hyper用不成



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org