mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-19 08:16:19 +00:00
Document next steps: NURL generation.
This commit is contained in:
parent
70dfc44841
commit
f2acf71998
@ -66,6 +66,14 @@ class _FoolscapOrHttps(Protocol, metaclass=_PretendToBeNegotiation):
|
||||
Add the various storage server-related attributes needed by a
|
||||
``Tub``-specific ``_FoolscapOrHttps`` subclass.
|
||||
"""
|
||||
# TODO tub.locationHints will be in the format ["tcp:hostname:port"]
|
||||
# (and maybe some other things we can ignore for now). We also have
|
||||
# access to the certificate. Together, this should be sufficient to
|
||||
# construct NURLs, one per hint. The code for NURls should be
|
||||
# refactored out of http_server.py's build_nurl; that code might want
|
||||
# to skip around for the future when we don't do foolscap, but for now
|
||||
# this module will be main way we set up HTTPS.
|
||||
|
||||
# Tub.myCertificate is a twisted.internet.ssl.PrivateCertificate
|
||||
# instance.
|
||||
certificate_options = CertificateOptions(
|
||||
|
Loading…
x
Reference in New Issue
Block a user