crouton
crouton copied to clipboard
Network I/O timeouts
Support optional timeouts for connecting, reading, writing.
I think in general this can be done with libuv by starting a timer at the same time as the request. If the timer fires first it calls uv_cancel on the request. If the request finishes first it stops the timer.