crouton icon indicating copy to clipboard operation
crouton copied to clipboard

Network I/O timeouts

Open snej opened this issue 2 years ago • 0 comments

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.

snej avatar Sep 07 '23 20:09 snej