projects
/
dnssec-prover
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7667f1b
)
Derive `Clone` for `ProofBuilder`
author
Matt Corallo
<git@bluematt.me>
Sun, 14 Apr 2024 17:17:04 +0000
(17:17 +0000)
committer
Matt Corallo
<git@bluematt.me>
Sun, 14 Apr 2024 17:22:46 +0000
(17:22 +0000)
src/query.rs
patch
|
blob
|
history
diff --git
a/src/query.rs
b/src/query.rs
index 1e02e2b1dfd14e742e9d470f8b67e388500b0feb..bb724020ea98f792f1631ca20d89616415d9aa75 100644
(file)
--- a/
src/query.rs
+++ b/
src/query.rs
@@
-207,6
+207,7
@@
const MAX_REQUESTS: usize = 10;
/// make a query to `https://doh-server/endpoint?dns=base64url_encoded_query` with an `Accept`
/// header of `application/dns-message`. Each response, in raw binary, can be fed directly into
/// [`ProofBuilder::process_response`].
+#[derive(Clone)]
pub struct ProofBuilder {
proof: Vec<u8>,
min_ttl: u32,