Hey all,
There is an error message ext\src\http\client\curl\http_operation_curl.cc:548 CURL, set option <30120> failed: <A libcurl function was given a bad argument> while running the example_otlp_http example with Win32 on my Windows 10. I have already debug it and found that after add these follow codes, it works well.
#ifdef WIN32
rc = SetCurlLongOption(CURLOPT_POSTFIELDSIZE, req_size);
#else
rc = SetCurlLongOption(CURLOPT_POSTFIELDSIZE_LARGE, req_size);
#endif
It should be a 32-bit compatibility problem.
Hey all,
There is an error message
ext\src\http\client\curl\http_operation_curl.cc:548 CURL, set option <30120> failed: <A libcurl function was given a bad argument>while running theexample_otlp_httpexample with Win32 on my Windows 10. I have already debug it and found that after add these follow codes, it works well.It should be a 32-bit compatibility problem.