joyent/node — pull request #1885 by xenyou (2011-10-14 01:07:36+00:00)
Title: tiny fix in http.js

I found a tiny bug in removeSocket method in http.js.
I think this method wants to remove a socket specified as the first argument from this.sockets[name].
But the current implemtntation removes the first socket from this.sockets[name].
shift method of Array class doesn't take an argument. So I'll fix it to use splice method.