File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ fn handle_client(stream:&mut TcpStream, cpu_affinity_manager:Arc<Mutex<crate::ut
8686 match kind. as_str ( ) . unwrap ( ) {
8787 "configuration" => { //we either need to connect streams to the client or prepare to receive connections
8888 if payload. get ( "role" ) . unwrap_or ( & serde_json:: json!( "download" ) ) . as_str ( ) . unwrap ( ) == "download" {
89- log:: debug !( "[{}] running in forward-mode: server will be receiving data" , & peer_addr) ;
89+ log:: info !( "[{}] running in forward-mode: server will be receiving data" , & peer_addr) ;
9090
9191 let stream_count = payload. get ( "streams" ) . unwrap_or ( & serde_json:: json!( 1 ) ) . as_i64 ( ) . unwrap ( ) ;
9292 //since we're receiving data, we're also responsible for letting the client know where to send it
@@ -127,7 +127,7 @@ fn handle_client(stream:&mut TcpStream, cpu_affinity_manager:Arc<Mutex<crate::ut
127127 //let the client know we're ready to receive the connection; stream-ports are in stream-index order
128128 send ( stream, & prepare_connect ( & stream_ports) ) ?;
129129 } else { //upload
130- log:: debug !( "[{}] running in reverse-mode: server will be uploading data" , & peer_addr) ;
130+ log:: info !( "[{}] running in reverse-mode: server will be uploading data" , & peer_addr) ;
131131
132132 let stream_ports = payload. get ( "stream_ports" ) . unwrap ( ) . as_array ( ) . unwrap ( ) ;
133133
You can’t perform that action at this time.
0 commit comments