cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Inconsistent behaviour: CURLOPT_CAINFO vs CURLFORM_FILE?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 6 Apr 2015 18:18:54 +0200 (CEST)

On Tue, 24 Mar 2015, Mikhail Merkuryev wrote:

> Both request the name of a disk file. CURLOPT_CAINFO wants it in UTF-8,
> CURLFORM_FILE — in a single-byte encoding.
>
> libcurl for Windows, both x86 and x64.

It probably even depends on the particular TLS backend you built curl to use
as that's the one that uses the CAINFO path... :-/

Do you have a suggestion on how to make the situation better without hurting
existing users?

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-04-06