curl-and-python

Re: Crash inside dup()

From: Oleg Pudeyev <oleg+pycurl_at_bsdpower.com>
Date: Mon, 23 Dec 2013 02:00:37 -0500

On Thu, 19 Dec 2013 17:24:48 +0100
"Gisle Vanem" <gvanem_at_yahoo.no> wrote:

> In pycurl.c, dup() is called to presumably duplicate a socket.
> But sockets and files cannot be intermingled like on Unix.
> Can WSADuplicateSocket() be used instead?

Please check https://github.com/pycurl/pycurl/pull/106.

I ran the test suite on windows and most of it actually passes.
select tests seems to have some issue that I did not research.

I created https://github.com/pycurl/dev-downloads. I build the packages
anyway, might as well put the on the web.

Oleg

--
Please remove +pycurl when mailing me privately.
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2013-12-23