diff options
author | Mike Yu <yumike@google.com> | 2023-02-21 07:08:49 +0000 |
---|---|---|
committer | Mike Yu <yumike@google.com> | 2023-02-21 07:17:28 +0000 |
commit | cdb5bbc9dde7d39311d802a50dc45e3e1b0dc8c7 (patch) | |
tree | ae5c3d275a7521ebaaebc61b8074940deedd740d /doh | |
parent | 87c2e5600037d7932723e6eb589eaa10a92a7352 (diff) | |
download | DnsResolver-cdb5bbc9dde7d39311d802a50dc45e3e1b0dc8c7.tar.gz |
Test: Some comments and small fixes for PrivateDnsDohTest
This is a follow up change of aosp/2428978. Also fix some minor
bugs in the test code.
Bug: 264966204
Test: atest
Change-Id: I5a0835c24e16c16ac3e740d1726adca9faabd8c3
Diffstat (limited to 'doh')
-rw-r--r-- | doh/tests/doh_frontend/src/client.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doh/tests/doh_frontend/src/client.rs b/doh/tests/doh_frontend/src/client.rs index 9ba1dbb4..ad66cc04 100644 --- a/doh/tests/doh_frontend/src/client.rs +++ b/doh/tests/doh_frontend/src/client.rs @@ -152,8 +152,9 @@ impl Client { if let Some(send_reset_stream) = send_reset_stream { if send_reset_stream == stream_id { + // Terminate the stream with an error code 99. self.conn.stream_shutdown(stream_id, quiche::Shutdown::Write, 99)?; - info!("Preparing RESET_FRAME on stream {}", stream_id); + info!("Preparing RESET_STREAM on stream {}", stream_id); return Ok(()); } } |