-
Couldn't load subscription status.
- Fork 247
Description
Build environment: Windows
Moddable SDK version: 5.1.0
Target device: Win simulator.
Description
I'm trying to get embedded:network/http/server to work on win simulator, but it locks up (does not respond) the simulator process and requires it to be hard terminated. The examples for listener/httpserver and listener/listen exhibit the failure, indicating the bug is likely related to listener.
Both examples work on esp32, but for httpserver a trivial bug in examples/io/tcp/websocket/WebSocket.js on line 51 needs to be fixed to not throw an error (doesn't affect the crash issue). Changeif (href) to else if (href), as the prior check for object has identified this is an attachment and there is no href.
Steps to Reproduce
- Run
examples/io/listener/listenorexamples/io/listener/httpserveron windows simulator