7
Renumber WebSocket transport type from 2 to 3 · Issue #2194 · ockam-network/ocka...
source link: https://github.com/ockam-network/ockam/issues/2194
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
In ockam_transport_websocket
, the Rust code declares the address type for WebSocket to 2:
However, in the elixir implementation, 2 is used for UDP:
We should change the Rust to use 3 (or some other number) for websockets (and consider how we can avoid this sort of problem in the future).
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK