Skip to content

WebSocket transport progress #3581

@somdoron

Description

@somdoron
  • draft ZWS 2.0 rfc https://github.com/zeromq/rfc/blob/master/45/README.md
  • WS address should allow path
  • Send correct hostname from client to server
  • use Sec-WebSocket-Protocol to negotiate protocol version and mechanism
  • Validate Sec-WebSocket-Accept
  • support websocket ping-pong
  • support websocket close command and closing handshake
  • Check validity of TLS certificates when set with setsockopt
  • Support TLS with CMake
  • Initiate close handshake (server only?) RFC close handshake
  • Implement mechanisms in JSZMQ
  • Test multipart
  • Test all patterns
  • document the transport
  • document the WSS (TLS) transport
  • support http multiline header
  • Improve masking by masking 4 at a time with an integer.
  • use NULL mechanism
  • support zap and plain mechanism
  • encoder should encode other message types, not only binary (ping/pong/close)
  • Improve masking, as now it is creating a new buffer and copy it over
  • Remove duplicate code from ws_connecter and ws_listener.
  • TLS support
  • Make ws transport conditional at build time
  • Test all message sizes
  • use a timer for the handshake
  • Native javascript library implementing the protocol https://github.com/zeromq/jszmq

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions