curl-and-python

Re: Crash inside dup()

From: Oleg Pudeyev <oleg+pycurl_at_bsdpower.com>
Date: Thu, 19 Dec 2013 14:48:53 -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?

I don't see why not. Can you write a patch?

Oleg
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2013-12-19