Re: multi_socket and epoll example

2018-08-07 Thread James Read via curl-library
On Tue, Aug 7, 2018 at 11:11 PM, Daniel Stenberg wrote: > On Tue, 7 Aug 2018, James Read wrote: > > What about DNS resolution? Is this already asynchronous or do I need to >> make some changes? >> > > As long as libcurl is built to use the threaded resolver (default) or the > c-ares backend, it

Re: multi_socket and epoll example

2018-08-07 Thread Daniel Stenberg via curl-library
On Tue, 7 Aug 2018, James Read wrote: What about DNS resolution? Is this already asynchronous or do I need to make some changes? As long as libcurl is built to use the threaded resolver (default) or the c-ares backend, it will do name resolving in a non-blocking manner. -- /

Re: multi_socket and epoll example

2018-08-07 Thread James Read via curl-library
On Tue, Aug 7, 2018 at 9:37 PM, Daniel Stenberg wrote: > On Tue, 7 Aug 2018, James Read via curl-library wrote: > > Does anyone have a working example using multi_socket with epoll? >> > > Josh Bialkowski provided one not too long ago, available here: > >

Re: Include CA Bundle at Build Time on Windows

2018-08-07 Thread Daniel Stenberg via curl-library
On Tue, 7 Aug 2018, Dillon Korman via curl-library wrote: I do see: --with-ca-bundle=FILE: use the specified file as CA certificate store. CA certificates need to be concatenated in PEM format into this file. But I believe that is for the configure script for nix systems (please correct me

Re: multi_socket and epoll example

2018-08-07 Thread Daniel Stenberg via curl-library
On Tue, 7 Aug 2018, James Read via curl-library wrote: Does anyone have a working example using multi_socket with epoll? Josh Bialkowski provided one not too long ago, available here: https://curl.haxx.se/libcurl/c/ephiperfifo.html -- / daniel.haxx.se

Re: Include CA Bundle at Build Time on Windows

2018-08-07 Thread Dillon Korman via curl-library
Yes On Tue, Aug 7, 2018 at 3:35 PM Daniel Jeliński via curl-library < curl-library@cool.haxx.se> wrote: > 2018-08-07 20:16 GMT+02:00 Dillon Korman via curl-library > : > > How do you specify the location of a CA bundle at build time on Windows? > > Windows builds use schannel (Windows SSL

Re: Include CA Bundle at Build Time on Windows

2018-08-07 Thread Daniel Jeliński via curl-library
2018-08-07 20:16 GMT+02:00 Dillon Korman via curl-library : > How do you specify the location of a CA bundle at build time on Windows? Windows builds use schannel (Windows SSL implementation) by default; with that you don't need CA bundle. Are you building with OpenSSL?

Application to request http2 content with multiplexed multiple streams

2018-08-07 Thread Rajvardhan Deshmukh via curl-library
Hi All, 1. I have written a code [1] to download 2 files at a time (multiplexed using 2 streams). And i intend to download 100 total files. Can you verify if i'm reusing the connection properly (concern as i use curl_easy_init(); for each url). But this doc [2] says as long as i use the same

multi_socket and epoll example

2018-08-07 Thread James Read via curl-library
I have a list of 135M .com domains and want to implement a basic web crawler to crawl this list of domains. My early design decisions are that I want to use multi_socket libcurl library with epoll. However, the book everything curl doesn't contain any working examples of using multi_socket with

Include CA Bundle at Build Time on Windows

2018-08-07 Thread Dillon Korman via curl-library
Hi, How do you specify the location of a CA bundle at build time on Windows? I don't see an option in "BUILD.WINDOWS.txt." I do see: --with-ca-bundle=FILE: use the specified file as CA certificate store. CA certificates need to be concatenated in PEM format into this file. But I believe that is

Re: Windows users! Help us test upload performance tuning?

2018-08-07 Thread Daniel Stenberg
On Mon, 6 Aug 2018, Daniel Jeliński wrote: Well I guess the overhead of WSAIoCtl or setsockopt may be non-negligible for fast connections. I can't reproduce this here, can't find a network with low enough bandwidth-delay product. On high BDP the patched version is consistently faster.