Duplicate iconv-data too in curl_easy_duphandle().

This commit is contained in:
Gisle Vanem 2006-09-09 16:36:05 +00:00
parent bb87b65f08
commit f1ba12607a
1 changed files with 6 additions and 0 deletions

View File

@ -612,6 +612,12 @@ CURL *curl_easy_duphandle(CURL *incurl)
break;
#endif
#if defined(CURL_DOES_CONVERSIONS) && defined(HAVE_ICONV)
outcurl->outbound_cd = data->outbound_cd;
outcurl->inbound_cd = data->inbound_cd;
outcurl->utf8_cd = data->utf8_cd;
#endif
Curl_easy_initHandleData(outcurl);
fail = FALSE; /* we reach this point and thus we are OK */