Comments (2)
I think the solution here is not to support arbitrary HTTP.
Instead what we should aim for is coexistence of multiple "sockets" on the same TCP port, using the path to discriminate different sockets. That likely means we need another higher level "endpoint" beyond the socket, specific to the websocket transport. The code we used to share common "Nodes" in the ZeroTier transport is something we can model on.
from nng.
Note also with the integration of #3 we should support TLS too! (i.e. https...)
from nng.
Related Issues (20)
- Crashed by SIGABRT HOT 2
- websocket transport use nng_stream will cause crashed HOT 5
- leak in xsub0_test during socket close HOT 2
- expire subsystem should be refactored for scale
- Hope you could publish new release package 1.6.0 to conan HOT 1
- Valgrind memory leak HOT 2
- [Question] nng_stream and nng_aio caused a panic HOT 1
- docs should indicate nng_aio_wait must not be used from a callback HOT 1
- Consider pointer based socket (unsafe) for performance HOT 1
- surveyor could be simplified to not use timer
- remove nni_timer HOT 1
- consider refactoring resend timer for REQ
- Consider unsafe aio API
- deadlock in websocket listener close
- websocket dialer hang on shutdown
- websocket should send, and wait for, WS_CLOSE frames on shutdown
- Performance followup HOT 4
- Test Failure (nng.tcp6) - Debian s390x platform HOT 4
- Public ID hash API
- Planning for NNG 2.0 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nng.