The close event does not come with an error: http://nodejs.org/api/http.html#http_event_close_3 I shall fix this tomorrow :-)