curl-and-python

Re: CTRL+C and pycurl.perform()

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 14 Mar 2011 12:06:23 +0100 (CET)

On Mon, 14 Mar 2011, ëÁÒÉÍ ÷ÁÌÉÅ× wrote:

> Is there a way to catch CTRL+C press immediately while in pycurl.perform()
> call? Now it is raising an exception just after entering my WRITEFUNCTION
> callback (after 5-10 seconds).

I believe this FAQ entry matches:

   http://curl.haxx.se/docs/faq.html#How_do_I_stop_an_ongoing_transfe

-- 
  / daniel.haxx.se

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2011-03-14