Skip to content

Is websocket listener broken? #1491

Description

@cmidgley

Build environment: Windows
Moddable SDK version: 5.6.0
Target device: Windows

Description
I finally pulled latest (I've been staying stable on an October pull), and I'm finding that the io HTTP server / web socket listener handoff isn't working. I reverted to pure 5.6.0 (with none of my merges) and the sample code at examples/io/listener/httpserver demonstrates the same failure.

Steps to Reproduce

  1. Build and run examples/io/listener/httpserver
  2. No WebSocket onMessage trace messages will appear.

It appears that the client makes the connection and receives the completed negotiation from the server, and even sends the first "hello" message, but nothing more happens. The server never does a handoff because onDone on the WebSocketHandshake route is never called.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions