Re: Tabs in cookie names and values

2022-10-13 Thread Daniel Stenberg via curl-library
On Thu, 13 Oct 2022, Daniel Gustafsson wrote: On 13 Oct 2022, at 23:03, Daniel Stenberg via curl-library wrote: A - escape them in the file B - reject them them on arrival This list is in the wrong order I reckon. Bah, sorry for causing extra confusion by doing this. -- /

Re: Tabs in cookie names and values

2022-10-13 Thread Daniel Gustafsson via curl-library
> On 13 Oct 2022, at 23:03, Daniel Stenberg via curl-library > wrote: > A - escape them in the file > B - reject them them on arrival This list is in the wrong order I reckon. > My thinking: > > We start out with (A), we reject such cookies starting next release. This > avoids the problem

Tabs in cookie names and values

2022-10-13 Thread Daniel Stenberg via curl-library
Hi, I've been struggling on how to make curl handle tabs in cookie names and values. Right now they cause problems when they are saved to file so we need to do *something. The two options we have are basically A - escape them in the file B - reject them them on arrival The popular

Does support for FTP growing files work in libcurl?

2022-10-13 Thread Robert Sumner via curl-library
I have been trying to get libcurl FTP to work to a tailmode supporting FTP server with a growing file, but have not managed to get the full file back. To try to enable this I set the curl option: curl_easy_setopt(m_curlHandle, CURLOPT_IGNORE_CONTENT_LENGTH, 1L) However, the code still just

Re: Undefined reference of a new libcurl function

2022-10-13 Thread Dan Fandrich via curl-library
On Thu, Oct 13, 2022 at 08:46:20AM +, Arnaud Compan via curl-library wrote: > In details, I've added the function in lib/multi.c: > void my_test(struct Curl_easy *data) > { > } > And in include/curl/multi.h: > CURL_EXTERN void my_test(CURL *curl_handle);

Undefined reference of a new libcurl function

2022-10-13 Thread Arnaud Compan via curl-library
Hello, For testing purposes, I've tried to add a function in libcurl but I'm facing undefined reference link error regarding this function when I build my test program. In details, I've added the function in lib/multi.c: void my_test(struct Curl_easy *data) { }