mikedeboer/node-github — pull request #91 by stefanjudis (2013-06-22 14:41:06+00:00)
Title: Callback at timeout

In documentaion is written, that I can set up a timeout for the Github API call.

Unfortunately it is not triggering the given callback.

Reason for that the timeout according to node.js documentation.

> When an idle timeout is triggered the socket will receive a 'timeout' event but the connection will not be severed. The user must manually end() or destroy() the socket.

**Current behaviour:**
Timeout is not triggering callback.

**Wished behaviour:**
Timeout is triggering callback with time error und status code 504.