Giter VIP home page Giter VIP logo

Comments (5)

fqj1994 avatar fqj1994 commented on September 2, 2024

It looks server_name_indication is a client-only option in erlang OTP's ssl module.
Could you please just add client-side SNI option thanks.

from ranch.

essen avatar essen commented on September 2, 2024

Hey, sure we can add options, but I'm not sure what you want exactly. Best is if you can make a PR adding the exact options. You can use this one as an example: https://github.com/ninenines/ranch/pull/77/files

Failing that please at least give the exact options.

from ranch.

fqj1994 avatar fqj1994 commented on September 2, 2024

Hello,

I just submited a PR to erlang/otp about SNI server support. I don't know whether it will be accepted.
I'll wait for several days (maybe longer) to submit PR to ranch as the content of the PR may change depending on whether the PR to erlang/otp is accepted.
AndSNI client option is not urgent as erlang's ssl module can handle it automatically if the host you're connecting is written in hostname rather than ip address.

from ranch.

essen avatar essen commented on September 2, 2024

Yep I saw. No worries about the PR, I'll keep it open as long as needed. For future reference this is the PR: erlang/otp#574

Thanks!

from ranch.

essen avatar essen commented on September 2, 2024

Done in 0d5d855. Thanks!

from ranch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.