aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hs
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-09-14 16:31:48 -0400
committerMike Perry <mikeperry-git@torproject.org>2022-02-22 19:28:33 +0000
commitbaaabb503c9c9fc81e0d95b2d5baeefef7423b7a (patch)
tree3ca1259e597855b96b53a73f8690b18edbc737dc /src/feature/hs
parentbd2e9a44097ff85934bc1c34f4fce2017a7a92c8 (diff)
downloadtor-baaabb503c9c9fc81e0d95b2d5baeefef7423b7a.tar.gz
tor-baaabb503c9c9fc81e0d95b2d5baeefef7423b7a.zip
Use protover to signal support for ntor3 + congestion control.
Diffstat (limited to 'src/feature/hs')
-rw-r--r--src/feature/hs/hs_common.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/feature/hs/hs_common.c b/src/feature/hs/hs_common.c
index c9195c2934..ee4ec25b01 100644
--- a/src/feature/hs/hs_common.c
+++ b/src/feature/hs/hs_common.c
@@ -1687,7 +1687,11 @@ hs_get_extend_info_from_lspecs(const smartlist_t *lspecs,
/* We do have everything for which we think we can connect successfully. */
info = extend_info_new(NULL, legacy_id,
(have_ed25519_id) ? &ed25519_pk : NULL, NULL,
- onion_key, &ap.addr, ap.port);
+ onion_key, &ap.addr, ap.port,
+ /* TODO: The protover summary here needs to explain
+ if we support the newer congestion control or
+ not. This may require new specification stuff */
+ NULL);
done:
return info;
}