Closed
Description
- Version: v6.0.0
- Platform: Windows 10 (x64), build 14332
- Subsystem: http
First of all, this is coming from this issue if you need any more details.
I am currently running Windows Insider build 14322, and am encountering problems when trying to create an Event Stream through the HTTP module.
I downloaded the Node.js code and HTML file from this HTML5 Rocks tutorial, and the example works as it should.
However, If I change the .listen(8000);
after the http.createServer
call to .listen(8000, 'localhost');
or .listen(8000, '0.0.0.0');
, the Event Stream to stop functioning and display as "pending" in the Chrome Dev tools rather than complete.
I wrote a small program to simulate an HTTP request to the Event Source, and the HTTP request yields the same data but with different values for the Date header and data.