Re: [cURLpp] PostFieldSize in curlpp/libcurl

2008-11-17 Thread Jean-Philippe Barette-LaPierre
On Mon, Nov 17, 2008 at 1:49 PM, Piotr Dobrogost <[EMAIL PROTECTED]>wrote: > Jean > > In example 12 you have this > > request.setOpt(new cURLpp::Options::PostFields("abcd")); > request.setOpt(new cURLpp::Options::PostFieldSize(5)); This question is more specific to libcURL, so you might want to

Re: [cURLpp] PostFieldSize in curlpp/libcurl

2008-11-17 Thread Jean-Philippe Barette-LaPierre
I'll create a [EMAIL PROTECTED] for development issues, so that this mailing-list will be for helping people. So, until then, send me directly (and maybe to Andrei) the message concerning the development. On Mon, Nov 17, 2008 at 2:23 PM, Piotr Dobrogost <[EMAIL PROTECTED]>wrote: > Jean > > In exa

[cURLpp] PostFieldSize in curlpp/libcurl

2008-11-17 Thread Piotr Dobrogost
Jean In example 12 you have this request.setOpt(new cURLpp::Options::PostFields("abcd")); request.setOpt(new cURLpp::Options::PostFieldSize(5)); Why is PostFieldSize set to 5? Do you have to take into account null terminated string used by libcurl? And do you know why in libcurl's tutorial (ht

[cURLpp] PostFieldSize in curlpp/libcurl

2008-11-17 Thread Piotr Dobrogost
Jean In example 12 you have this request.setOpt(new cURLpp::Options::PostFields("abcd")); request.setOpt(new cURLpp::Options::PostFieldSize(5)); Why is PostFieldSize set to 5? Do you have to take into account null terminated string used by libcurl? And do you know why in libcurl's tutorial (