Commits

Anonymous committed 0f6604e

by default set timeout to 0.

  • Participants
  • Parent commits 27c50f4

Comments (0)

Files changed (1)

File restclient/transport/_curl.py

             # set curl options
             if self.timeout is not None:
                 c.setopt(pycurl.TIMEOUT, self.timeout)
-            else:
-                c.setopt(pycurl.TIMEOUT, 20)
+            else: # no timeout by default
+                c.setopt(pycurl.TIMEOUT, 0)
 
             data = StringIO.StringIO()
             header = StringIO.StringIO()