| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-python mailing list Archives
NOSIGNAL confusion
From: Tsai Li Ming <mailinglist_at_ltsai.com>
Date: Tue, 07 Jun 2005 23:41:10 +0800
Hi
Looking at one of the example codes, retriever-multi.py.
From the libcurl documentation, I understand NOSIGNAL has to be set to
1. Is retriever-multi considered a mult-thread program?
2. Since the process is not getting a signal when NOSIGNAL is set to 1,
3. Does the process get a signal when NOSIGNAL is set to 0? I tried the
def handler(signum, frame):
signal.signal(signal.SIGPIPE, handler)
c = pycurl.Curl()
# python retrieve.py http://www.yahoo.com
I'm using libcurl 7.14.0 with pycurl 7.13.2
Thanks,
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info