Giter VIP home page Giter VIP logo

Comments (3)

candlerb avatar candlerb commented on May 23, 2024

Also, if this were done, it could also mean that SSHy would be able to work with an out-of-the-box wsproxy instead of requiring the patched one supplied with SSHy. That would be a big bonus.

I notice that upstream wsproxy has now pinned the version of ws to 2.x, which means it doesn't need the patch in stuicey/wsProxy@8ef26ac (although it still might be a good idea to submit this upstream so it can move to ws 3.x)

from sshy.

stuicey avatar stuicey commented on May 23, 2024

Yeah, its trivial to update this for use with websockify (see here), I'd be hesitant to make it part of the normal release though unless websockify or another major websocket proxy supports multiplexing? If theres a better suited alternative I don't see the harm in switching, all wsproxy does is bridge ws <-> tcp sockets.

wsproxy was developed for use with Ragnarök Online, so I wouldn't be surprised if they want to stay at ws 2.x to maintain compatability.

from sshy.

candlerb avatar candlerb commented on May 23, 2024

Is ws (library) >= 3.x required for multiplexing then?

I don't know much about websockets, but as far as I can tell, the benefit from multiplexing is if you have lots of tabs open with ssh sessions, all going to the same backend server. Is that correct?

ISTM that binary websockets would be more widely compatible. You can still release an optimised version of wsproxy, using a newer version of ws library, but it would be optional.

Given that wsproxy is barely maintained it's probably worth forking wsproxy with a different name, so it's available via a simple npm i.

from sshy.

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.