pycurl.TIMEOUT_MS not work when the value <= 999
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pycurl (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
At first, I'm sorry if this is not a bug( or here is not the right place to report), and thank you for any response!
===========Code Sample=============
import time
import pycurl
c = pycurl.Curl()
c.setopt(
start = time.time()
c.setopt(
try:
c.perform()
except:
print "Timeout"
finally:
print time.time() - start
c = pycurl.Curl()
c.setopt(
c.setopt(
c.setopt(
c.perform()
print "set NOSIGNAL makes it work"
=======
Timeout
0.0002281665802
<html>
<meta http-equiv=
</html>
set NOSIGNAL makes it work
=======
system: quantal
python-pycurl version: 7.19.0-5ubuntu1