Re: Does the source tree need to be clean for an out-of-source cmake build?

2017-09-08 Thread Peter Wu
Hi, Last time I looked, only the include paths and a header needed fixing: https://github.com/curl/curl/pull/1291 In meantime curlbuild.h is gone, but there might be other issues now. (Note that the PR was rejected.) Rejecting in-tree sounds interesting, would this also be possible for

Re: Enabled multiple SSL backends

2017-09-08 Thread Johannes Schindelin
Hi Kamil, On Sat, 9 Sep 2017, Johannes Schindelin wrote: > Actually, there is a remaining problem with that PR (which was sadly > closed, but I think we need to get this problem fixed ASAP): when > compiling cURL with NSS and, say, Secure Channel support, and Secure > Channel is selected at

Re: Enabled multiple SSL backends

2017-09-08 Thread Johannes Schindelin
Hi Kamil, On Sat, 9 Sep 2017, Johannes Schindelin wrote: > On Wed, 6 Sep 2017, Kamil Dudka wrote: > > > On Thursday, August 31, 2017 9:36:10 AM CEST Kamil Dudka via > > curl-library wrote: > > > On Wednesday, August 30, 2017 10:40:14 PM CEST Johannes Schindelin wrote: > > > > > > > > On Wed,

Re: [PATCH] curl: Fix compile warning on Fedora-14.

2017-09-08 Thread Ben Greear
On 09/08/2017 03:23 PM, Daniel Stenberg wrote: On Thu, 7 Sep 2017, gree...@candelatech.com wrote: mime.c:301:5: error: conversion to 'char' from 'int' may alter its value ... -dst[i++] = c? c: '0'; +if(c) + dst[i++] = c; +else + dst[i++] = '0'; Thanks Ben, I

Re: [PATCH] curl: Fix compile warning on Fedora-14.

2017-09-08 Thread Daniel Stenberg
On Thu, 7 Sep 2017, gree...@candelatech.com wrote: mime.c:301:5: error: conversion to 'char' from 'int' may alter its value ... -dst[i++] = c? c: '0'; +if(c) + dst[i++] = c; +else + dst[i++] = '0'; Thanks Ben, I personally am generally very keen on fixing compiler

Re: Enabled multiple SSL backends

2017-09-08 Thread Johannes Schindelin
Hi Kamil, On Wed, 6 Sep 2017, Kamil Dudka wrote: > On Thursday, August 31, 2017 9:36:10 AM CEST Kamil Dudka via > curl-library wrote: > > On Wednesday, August 30, 2017 10:40:14 PM CEST Johannes Schindelin wrote: > > > > > > On Wed, 30 Aug 2017, Kamil Dudka wrote: > > > > On Wednesday, August

Re: curl_multi_perform in background thread and HTTPS

2017-09-08 Thread Daniel Stenberg
On Fri, 8 Sep 2017, Johny Bravo wrote: But res_init is not part of CURL, so the app wont be transferable to other platforms. It would still be a functional work-around. If res_init() helps you, then we know a whole lot more about the specific problem you're seeing and what possible

Re: curl_multi_perform in background thread and HTTPS

2017-09-08 Thread Johny Bravo via curl-library
But res_init is not part of CURL, so the app wont be transferable to other platforms.   -- Původní e-mail -- Od: Daniel Stenberg Komu: Johny Bravo via curl-library Datum: 8. 9. 2017 15:32:02 Předmět: Re: curl_multi_perform in background

Re: curl_multi_perform in background thread and HTTPS

2017-09-08 Thread Daniel Stenberg
On Fri, 8 Sep 2017, Johny Bravo via curl-library wrote: I perform curl_multi_perform in a background thread of my GUI app. I am downloading data from HTTPS server. Usually, all is working, however after internet connection is lost and restored again, I receive CURLE_COULDNT_ RESOLVE_HOST and

curl_multi_perform in background thread and HTTPS

2017-09-08 Thread Johny Bravo via curl-library
I perform curl_multi_perform in a background thread of my GUI app. I am downloading data from HTTPS server. Usually, all is working, however after internet connection is lost and restored again, I receive CURLE_COULDNT_ RESOLVE_HOST and no new download is ever started again (the server is OK - if

Re: Sending concurrent requests with single libcurl handle

2017-09-08 Thread Daniel Stenberg
On Fri, 8 Sep 2017, ViDyAnAnD NiLLe via curl-library wrote: After going through curl multi interface document, it looks like we can send concurrent request using multiple easy handles in single thread. Exactly. I want to simulate async requests the way browser sends. e.g When we hit

Sending concurrent requests with single libcurl handle

2017-09-08 Thread ViDyAnAnD NiLLe via curl-library
Hi, After going through curl multi interface document, it looks like we can send concurrent request using multiple easy handles in single thread. Is it possible to send concurrent requests using single libcurl handle using curl multi interface? If not from multi interface, is there any other way