timeout
event was emitted only once even though there were 3 chances for timeout.
$ node http-request.js
8 [server] Listening on 53190
23 [client] making request
174 [client] timeout
234 [server] GET / HTTP/1.1
Host: localhost:53190
Connection: close
646 [client] 200 { 'content-length': '5' }
652 [client] hello
No timeout
event was emitted even though the overall request/response took more than 600 ms.
$ node http-request.js
9 [server] Listening on 53226
21 [client] making request
231 [server] GET / HTTP/1.1
Host: localhost:53226
Connection: close
639 [client] 200 { 'content-length': '5' }
644 [client] hello