mjia / greenwave

Forked from greenwave 7 years ago
Clone

fc58f5c Ensure requests are made with a timeout

Authored and Committed by jcline 7 years ago
    Ensure requests are made with a timeout
    
    Without a timeout, requests will block until a response is received.
    This ensures a timeout is set for each request made so that if servers
    are slow to respond, we don't get stuck waiting forever.
    
    Signed-off-by: Jeremy Cline <jeremy@jcline.org>
    
        
file modified
+6 -6
file modified
+1 -0