File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ impl ServerConnector for ServerContext {
4747 optional_outbound : tokio:: sync:: mpsc:: Sender <
4848 <<Self :: Bindings as ConnectionBindings >:: Serializer as Serializer >:: Message ,
4949 > ,
50+ _address : std:: net:: SocketAddr ,
5051 ) -> <Self :: Bindings as ConnectionBindings >:: Reactor {
5152 StringReactor {
5253 outbound : optional_outbound,
Original file line number Diff line number Diff line change 11use std:: future:: Future ;
22use std:: io:: Error ;
3+ use std:: net:: SocketAddr ;
34use std:: pin:: Pin ;
45use std:: sync:: Arc ;
56use std:: task:: Context ;
@@ -21,6 +22,7 @@ pub trait ServerConnector: Unpin {
2122 optional_outbound : mpsc:: Sender <
2223 <<Self :: Bindings as ConnectionBindings >:: Serializer as Serializer >:: Message ,
2324 > ,
25+ address : SocketAddr ,
2426 ) -> <Self :: Bindings as ConnectionBindings >:: Reactor ;
2527
2628 fn maximum_message_length ( & self ) -> usize {
@@ -108,7 +110,7 @@ impl<Connector: ServerConnector> Future for ProtosocketServer<Connector> {
108110 mpsc:: channel ( self . max_queued_outbound_messages ) ;
109111 let reactor = self
110112 . connector
111- . new_reactor ( outbound_submission_queue. clone ( ) ) ;
113+ . new_reactor ( outbound_submission_queue. clone ( ) , address ) ;
112114 let stream = self . connector . connect ( stream) ;
113115 let connection: Connection < Connector :: Bindings > = Connection :: new (
114116 stream,
You can’t perform that action at this time.
0 commit comments