httpsys icon indicating copy to clipboard operation
httpsys copied to clipboard

Make http_simple work

Open piscisaureus opened this issue 13 years ago • 3 comments

I tried it (node 0.8.8 x64), but it didn't work.

Steps to reproduce:

  • modify benchmark/http_simple.js to use httpsys
  • hammer http://localhost:8000/bytes/100 with some benchmarking tool (I used ab)
  • profit!
pid 5664
Listening at http://127.0.0.1:8000/
create storedBytes[n]

events.js:66
        throw arguments[1]; // Unhandled 'error' event
                       ^
Error: Error sending response data. System error 0.
    at HttpServer.Server._notify_error_and_dispose (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:473:42)
    at HttpServer.Server._on_error_writing (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:512:10)
    at HttpServer.Server._dispatch (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:417:46)
    at httpsys.httpsys_init.callback (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:81:27)
    at ServerResponse._initiate_send_next (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:331:53)
    at ServerRequest._on_end_request (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:135:30)
    at HttpServer.Server._on_end_request (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:487:24)
    at HttpServer.Server._dispatch (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:417:46)
    at httpsys.httpsys_init.callback (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:81:27)

piscisaureus avatar Aug 25 '12 04:08 piscisaureus

At the moment httpsys works only with node x86. I will leave this bug open to enable x64 support.


From: Bert Belder [[email protected]] Sent: Friday, August 24, 2012 9:32 PM To: tjanczuk/httpsys Subject: [httpsys] Make http_simple work (#18)

I tried it (node 0.8.8 x64), but it didn't work.

Steps to reproduce:

  • modify benchmark/http_simple.js to use httpsys
  • hammer http://localhost:8000/bytes/100 with some benchmarking tool (I used ab)
  • profit!

pid 5664 Listening at http://127.0.0.1:8000/ create storedBytes[n]

events.js:66 throw arguments[1]; // Unhandled 'error' event ^ Error: Error sending response data. System error 0. at HttpServer.Server._notify_error_and_dispose (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:473:42) at HttpServer.Server._on_error_writing (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:512:10) at HttpServer.Server._dispatch (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:417:46) at httpsys.httpsys_init.callback (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:81:27) at ServerResponse._initiate_send_next (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:331:53) at ServerRequest._on_end_request (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:135:30) at HttpServer.Server._on_end_request (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:487:24) at HttpServer.Server._dispatch (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:417:46) at httpsys.httpsys_init.callback (D:\node4\benchmark\node_modules\httpsys\lib\httpsys.js:81:27)

— Reply to this email directly or view it on GitHubhttps://github.com/tjanczuk/httpsys/issues/18.

tjanczuk avatar Aug 25 '12 05:08 tjanczuk

Who's using x86 today for server application development ? Windows Server is 64 bits only since 2008 R2.

Could x64 be the priority, and x86 provided for legacy purposes only ?

arnaud897 avatar Oct 11 '12 22:10 arnaud897

Httpsys currently supports both x86 and x64 node.js versions. This bug remains open to ensure the sample works correctly.

tjanczuk avatar Oct 12 '12 16:10 tjanczuk