Giter Club home page Giter Club logo

Comments (7)

clue avatar clue commented on May 17, 2024 4

Just a heads up: I've started looking into this while trying to add test cases for our socket-client component: reactphp-legacy/socket-client#62

The resulting SSL/TLS socket server works reasonably well and I'll look into filing a PR for this in the upcoming weeks :shipit:

However, we currently have to share some classes with the socket-client component, so I'll look into moving these elsewhere first. I'll keep this ticket updated.

from socket.

clue avatar clue commented on May 17, 2024 4

Progress update: All referenced issues have been resolved in the meantime. The next (last!) batch of dependencies is #49, #50 and #51.

I'm ready to file a PR for my SSL/TLS server implementation once these are finally in :shipit:

from socket.

clue avatar clue commented on May 17, 2024 2

Any E.T.A. on this?

Unfortunately not. If your "own hack" works fine, I recommend you stick with it for the time being 👍

That being said, this task is high on my todo list and I plan on picking this up in the next week. However, this currently depends on reactphp/stream#42 first if we want to avoid some rather nasty hacks here.

from socket.

clue avatar clue commented on May 17, 2024

A possible alternative is to launch a SSL/TLS proxy server (such as stunnel, haproxy or nginx) in front of your unencrypted socket server.

from socket.

CriseX avatar CriseX commented on May 17, 2024

I'm curious why there is no 1st party support for this yet? That old pull request basically had the gist of it all right. As for the alternative, once #25 is resolved, this issue will be a little more than a matter of parity between the server and client side capabilities of react and their completeness since we can actually set up a proper IPC socket between the two at that point, rather than using the loop back interface.

Ironically, php's openssl extension, and subsequently anything TLS related, seems to suffer a bit from the same problem as openssl itself when it comes to how they are documented (or lack thereof in some cases). The PHP 5.6 migration guide is the only official documentation that mentions most of the "recent" and relevant changes to PHP as far as I know.

Personally, I prefer this https://wiki.php.net/rfc/improved-tls-defaults to the migration guide, at the time of writing this though, because it seems to still be at least as accurate and more verbose than the former.

from socket.

vanderlee avatar vanderlee commented on May 17, 2024

Any E.T.A. on this? Need to know if I should continue using my own hack for now or wait for this in order to meet my own deadlines.

from socket.

clue avatar clue commented on May 17, 2024

See #55 :shipit:

from socket.

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.