On 18/10/2017 22:37, Gregory Szorc wrote:
On Wed, Oct 18, 2017 at 10:01 PM, Simon Sapin <[email protected]> wrote:try: from ssl import HAS_SNI except ImportError: HAS_SNI = False
[…]
https://static-rust-lang-org.s3.amazonaws.com/ is what we use at the moment.
I’ve updated https://github.com/servo/servo/pull/18942 to use https://static.rust-lang.org/ when ssl.HAS_SNI exists and is true, and https://static-rust-lang-org.s3.amazonaws.com/ otherwise.
I'd set up your own S3 bucket and potentially CloudFront distribution so you are in control of your own hostnames.
That’s certainly one option, yes. Though we’re also considering using rustup.rs, so “install rustup any way you can” could be a way to bootstrap, instead of downloading rustc from Python.
an up-to-date trusted CA certificate roots bundle for x509 certificate verification (assuming the client does certificate validation properly - which older versions of Python don't unless configured to do so - Python's default security story was a mess until relatively recently).
That sounds like a whole other can of worms that I don’t really want to get into today :/
-- Simon Sapin _______________________________________________ dev-servo mailing list [email protected] https://lists.mozilla.org/listinfo/dev-servo

