Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
muloka
· 13y ago · 0 comments
I imagine this could this be used to kill a running instance of node.js in production?
Comments
[–]
ssafejava
13y ago
No, it won't kill the process; it will simply terminate the connection. It looks like, from the C code, that it was intended to throw a 405 but somewhere in the process it screws up and terminates early.
[–]
muloka
OP
13y ago
Ah thanks for clearing that up.
[–]
helper
13y ago
How?
[–]
the1
13y ago
maybe something like:
curl -v -s -X "GE$(printf '%.s ' {0..100000})" localhost:8888
It doesn't kill node process.. but there could be buffer overflow or similar bug in that parser code.