Home
last modified time | relevance | path

Searched refs:h3_conn (Results 1 – 2 of 2) sorted by relevance

/packages/modules/DnsResolver/doh/tests/doh_frontend/src/
Dclient.rs41 h3_conn: Option<quiche::h3::Connection>, field
65 h3_conn: None, in new()
75 ensure!(self.h3_conn.is_none(), "HTTP/3 connection is already created"); in create_http3_connection()
79 self.h3_conn = Some(conn); in create_http3_connection()
85 ensure!(self.h3_conn.is_some(), "HTTP/3 connection not created"); in handle_http3_request()
87 let h3_conn = self.h3_conn.as_mut().unwrap(); in handle_http3_request() localVariable
91 match h3_conn.poll(&mut self.conn) { in handle_http3_request()
111 if let Ok(read) = h3_conn.recv_body(&mut self.conn, stream_id, &mut buf) { in handle_http3_request()
135 ensure!(self.h3_conn.is_some(), "HTTP/3 connection not created"); in handle_backend_message()
146 let h3_conn = self.h3_conn.as_mut().unwrap(); in handle_backend_message() localVariable
[all …]
/packages/modules/DnsResolver/doh/connection/
Ddriver.rs151 h3_conn: h3::Connection, field
266 let h3_conn = h3::Connection::with_transport(&mut self.quiche_conn, &h3_config)?; in drive_once() localVariable
267 self = H3Driver::new(self, h3_conn).drive().await?; in drive_once()
330 fn new(driver: Driver, h3_conn: h3::Connection) -> Self { in new()
333 h3_conn, in new()
414 match self.h3_conn.send_request(&mut self.driver.quiche_conn, &request.headers, true) { in handle_request()
443 match self.h3_conn.recv_body( in recv_body()
474 match self.h3_conn.recv_dgram(&mut self.driver.quiche_conn, self.driver.buffer.as_mut()) in discard_datagram()
485 match self.h3_conn.poll(&mut self.driver.quiche_conn) { in flush_h3()
565 self.h3_conn.send_goaway(&mut self.driver.quiche_conn, 0)?; in shutdown()