cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: OPENSOCKETFUNCTION hook not called for all socket creations on Windows

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 21 Dec 2011 11:14:44 +0100 (CET)

On Wed, 14 Dec 2011, Poul Thomas Lomholt wrote:

> on Windows, libcurl does not seem to honor the CURLOPT_OPENSOCKETFUNCTION
> hook for the 'dummy_sock' socket created in init_resolve_thread() function.

Hi again,

I've written up a patch for this problem. See the attached file.

I don't have or develop on Windows so I haven't been able to actually test or
even build this code to verify that it actually works as intended. Let me know
how it works and what furthre tweaks we need to do!

-- 
  / daniel.haxx.se


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2011-12-21