Latest commit eeab04a Mar 25, 2013 @arjansingh arjansingh Removed 'end' event listener.
The example did not work out of the box. I traced the problem to the 'end' event listener attached to request.

I guess older versions of node.js required this but as of 0.10.0 (probably earlier), the `createServer` callback isn't called until `request` has already completed.

Therefore, there is no need for the 'end' event listener anymore.

Also, I removed some unnecessary parentheses.
Permalink
..
Failed to load latest commit information.
file-server.js Removed 'end' event listener. Mar 25, 2013