Set stream read/write timeout & non-blocking
Added code to set stream read/write timeouts. Also we need to set the stream to non-blocking if we want to do non-blocking IO. Added a bit more error handling to request().
Please register or sign in to comment