Home
last modified time | relevance | path

Searched refs:connection (Results 1 - 4 of 4) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_io/examples/
H A Dylong_io_tcp_server.rs45 println!("Accept connection addr: {stream:?} {addr:?}"); in main()
52 Some(connection) => { in main()
55 match connection.write(b"Hello client_from writable") { in main()
58 poll.deregister(connection)?; in main()
59 poll.register(connection, event.token(), Interest::READABLE)?; in main()
64 poll.deregister(connection)?; in main()
65 poll.register(connection, event.token(), Interest::READABLE)?; in main()
72 match connection.read(&mut msg_buf) { in main()
74 poll.deregister(connection)?; in main()
84 poll.deregister(connection) in main()
[all...]
/commonlibrary/rust/ylong_runtime/ylong_io/tests/
H A Duds_test.rs90 Some(connection) => { in server()
92 match connection.write(b"Hello client") { in server()
94 poll.deregister(connection)?; in server()
95 poll.register(connection, event.token(), Interest::READABLE)?; in server()
99 poll.deregister(connection)?; in server()
100 poll.register(connection, event.token(), Interest::READABLE)?; in server()
106 match connection.read(&mut msg_buf) { in server()
107 Ok(0) => poll.deregister(connection)?, in server()
116 poll.deregister(connection)?; in server()
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/
H A Dmanager.rs332 let mut connection = self.settings.lock().unwrap(); in recv_settings_frame() variables
334 if let SettingsState::Acknowledging(ref acknowledged) = connection.settings { in recv_settings_frame()
343 connection.settings = SettingsState::Synced; in recv_settings_frame()
403 // Prevents the current connection from generating a new stream. in recv_go_away_frame()
634 // ensure that the connection is in the closing state. in poll_deal_with_go_away()
H A Doutput.rs169 // TODO Whether to continue processing the remaining frames after connection in poll_iterator_frames()
241 let connection = self.settings.lock().unwrap(); in update_decoder_settings()
242 match &connection.settings { in update_decoder_settings()

Completed in 3 milliseconds