curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: help me improve behavior on Windows?

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 6 Oct 2019 12:24:32 +0200 (CEST)

On Sun, 6 Oct 2019, Patrick Monnerat via curl-library wrote:

> we already have a similar function: it is named inetsocketpair() and is
> located at lib/vtls/gskit.c line 526 (see comment before this line). In
> addition, inetsocketpair() checks for security that no other process
> connects to our listening socket.
>
> Maybe we should unify both works ?

Oh wow. Thanks for bringing this up, I didn't realize. Yes, it looks like we
should unify since these two functions are clearly very similar and can
probably be made almost if not exactly identical.

-- 
  / daniel.haxx.se | Get the best commercial curl support there is - from me
                   | Private help, bug fixes, support, ports, new features
                   | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2019-10-06