Running the Following Code with Julia LibCurl.jl
curl_header_list = Cstring[]
for header in keys(headers)
value = headers[header]
item =Cstring(pointer("$header: $value"))
push!(curl_header_list, item)
end
curl_easy_setopt(curl, CURLOPT_URL, "$burl/api/v1/order/bulk")
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, curl_header_list)
res = curl_easy_perform(curl);
We are receiving the following segmentation fault error message:
signal (11): Segmentation fault
in expression starting at /home/ubuntu/speed_test.jl:208
Curl_safe_strcasecompare at /home/ubuntu/.julia/packages/LibCURL/lWJxD/deps/usr/lib/libcurl.so (unknown line)
Allocations: 3088296 (Pool: 3087464; Big: 832); GC: 6
Segmentation fault (core dumped)