cURL
Your ad here would be seen by 100,000 unique vistors every month Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-and-python mailing list Archives

Re: Callback for socket closing event

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 2 Oct 2009 08:28:48 +0200 (CEST)

On Thu, 1 Oct 2009, Arek Bochinski wrote:

> So in effect, is it possible to capture the pre-closing event in pycurl ->
> pass it to epoll to unregister events for this fd -> and the allow pycurl to
> close the descritor if it wishes ?

The socket_action API in libcurl was added to allow event-driven socket
handling libs (and epoll) to be used, and afaik it works fine.

I'm totally unaware of if pycurl has support or not for this.

-- 
  / daniel.haxx.se
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2009-10-02

These mail archives are generated by hypermail.

donate! Page updated September 25, 2009.
web site info

File upload with ASP.NET