Re: Multi-threading, NSS, client certificates and Linux problem

2017-01-20 Thread Pawel Veselov
On Fri, Jan 20, 2017 at 3:35 AM, Kamil Dudka wrote: > On Thursday, January 19, 2017 13:39:44 Pawel Veselov wrote: >> Things work perfectly fine if I use the database, i.e. no MT problems. >> Unfortunately, this is not a workaround to what I'm trying to achieve, >> but it is

Re: [PATCH 0/5] Add some curl*va() API functions

2017-01-20 Thread Dan Fandrich
On Fri, Jan 20, 2017 at 05:42:39PM +0200, Ioan-Adrian Ratiu wrote: > These API functions with a va_list parameter are in addition to the > existing functions using "..." and are useful in case the library-caller is > also a function getting "..." variable arguments, so the caller can pass its >

[PATCH 5/5] curl_share_setopt: Add va() API function

2017-01-20 Thread Ioan-Adrian Ratiu
Signed-off-by: Ioan-Adrian Ratiu --- docs/libcurl/curl_share_setopt.3 | 6 +- include/curl/curl.h | 1 + lib/share.c | 18 +- 3 files changed, 19 insertions(+), 6 deletions(-) diff --git

[PATCH 3/5] curl_formadd: Add va() API function

2017-01-20 Thread Ioan-Adrian Ratiu
Signed-off-by: Ioan-Adrian Ratiu --- docs/libcurl/curl_formadd.3 | 5 - include/curl/curl.h | 6 +- lib/formdata.c | 12 ++-- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/docs/libcurl/curl_formadd.3

[PATCH 1/5] curl_easy_getinfo: Add va() API function

2017-01-20 Thread Ioan-Adrian Ratiu
Signed-off-by: Ioan-Adrian Ratiu --- docs/libcurl/curl_easy_getinfo.3 | 7 ++- include/curl/easy.h | 7 ++- lib/easy.c | 22 +++--- 3 files changed, 27 insertions(+), 9 deletions(-) diff --git

[PATCH 2/5] curl_easy_setopt: Add va() API function

2017-01-20 Thread Ioan-Adrian Ratiu
Signed-off-by: Ioan-Adrian Ratiu --- docs/libcurl/curl_easy_setopt.3 | 6 +- include/curl/easy.h | 1 + lib/easy.c | 22 +++--- 3 files changed, 21 insertions(+), 8 deletions(-) diff --git

[PATCH 4/5] curl_multi_setopt: Add va() API function

2017-01-20 Thread Ioan-Adrian Ratiu
Signed-off-by: Ioan-Adrian Ratiu --- docs/libcurl/curl_multi_setopt.3 | 6 +- include/curl/multi.h | 5 - lib/multi.c | 22 -- 3 files changed, 25 insertions(+), 8 deletions(-) diff --git

[PATCH 0/5] Add some curl*va() API functions

2017-01-20 Thread Ioan-Adrian Ratiu
These API functions with a va_list parameter are in addition to the existing functions using "..." and are useful in case the library-caller is also a function getting "..." variable arguments, so the caller can pass its args to the library using the va-list. Doing this is impossible with the

Re: broken cURL on semicolon (of Windows drive letter) in file://

2017-01-20 Thread Daniel Stenberg
On Fri, 20 Jan 2017, Kees Dekker wrote: I discovered that cURL 7.50.1 did accepts, but cURL 7.52.1 did not accept a colon in an URL. Example: the following URL did not work: file://c://temp/test.xml Okay, your subject says semicolon and your mail body says colon. But the problem is actually

broken cURL on semicolon (of Windows drive letter) in file://

2017-01-20 Thread Kees Dekker
Hi, I discovered that cURL 7.50.1 did accepts, but cURL 7.52.1 did not accept a colon in an URL. Example: the following URL did not work: file://c://temp/test.xml. I also discovered that back slashes are not allowed anymore (may be related to https://github.com/curl/curl/issues/1007). That is

Re: Multi-threading, NSS, client certificates and Linux problem

2017-01-20 Thread Kamil Dudka
On Thursday, January 19, 2017 13:39:44 Pawel Veselov wrote: > Things work perfectly fine if I use the database, i.e. no MT problems. > Unfortunately, this is not a workaround to what I'm trying to achieve, > but it is pointing to nss-pem as a culprit, isn't it? Exactly. > Anywhere in particular

RE: proposed changes for winbuild makefile

2017-01-20 Thread Kees Dekker
I will try to do so. But it will take time (set this on my todo list). If you have any wishes or suggestions, please let me know. I can't promise a date whenever I've something ready (I'm still busy to get all working of our own product, that uses cuRL (and OpenSSL + for Windows also zlib and

Re: Multiple READFUNCTION callbacks not happening

2017-01-20 Thread Pushkar Kulkarni
Hi Daniel, Thanks for the prompt response. >> Hm. Which version of libcurl is this? Can you try to set CURLOPT_POSTFIELDSIZE instead of CURLOPT_INFILESIZE >> for the POST size? That's what post-callback.c does... (I would expect them to work the same in 7.43.0 or later but who >> knows for