567
curl_easy_setopt(slot->curl, CURLOPT_INFILE, &request->buffer);
568
curl_easy_setopt(slot->curl, CURLOPT_INFILESIZE, request->buffer.buf.len);
569
curl_easy_setopt(slot->curl, CURLOPT_READFUNCTION, fread_buffer);
570
+#ifndef NO_CURL_IOCTL
571
+ curl_easy_setopt(slot->curl, CURLOPT_IOCTLFUNCTION, ioctl_buffer);
572
+ curl_easy_setopt(slot->curl, CURLOPT_IOCTLDATA, &request->buffer);
573
+#endif
574
curl_easy_setopt(slot->curl, CURLOPT_WRITEFUNCTION, fwrite_null);
575
curl_easy_setopt(slot->curl, CURLOPT_CUSTOMREQUEST, DAV_PUT);
576
curl_easy_setopt(slot->curl, CURLOPT_UPLOAD, 1);
1271
curl_easy_setopt(slot->curl, CURLOPT_INFILE, &out_buffer);
1272
curl_easy_setopt(slot->curl, CURLOPT_INFILESIZE, out_buffer.buf.len);
1273
curl_easy_setopt(slot->curl, CURLOPT_READFUNCTION, fread_buffer);
1274
+#ifndef NO_CURL_IOCTL
1275
+ curl_easy_setopt(slot->curl, CURLOPT_IOCTLFUNCTION, ioctl_buffer);
1276
+ curl_easy_setopt(slot->curl, CURLOPT_IOCTLDATA, &out_buffer);
1277
+#endif
1278
curl_easy_setopt(slot->curl, CURLOPT_FILE, &in_buffer);
1279
curl_easy_setopt(slot->curl, CURLOPT_WRITEFUNCTION, fwrite_buffer);
1280
curl_easy_setopt(slot->curl, CURLOPT_URL, url);
1516
curl_easy_setopt(slot->curl, CURLOPT_INFILE, &out_buffer);
1517
curl_easy_setopt(slot->curl, CURLOPT_INFILESIZE, out_buffer.buf.len);
1518
curl_easy_setopt(slot->curl, CURLOPT_READFUNCTION, fread_buffer);
1519
+#ifndef NO_CURL_IOCTL
1520
+ curl_easy_setopt(slot->curl, CURLOPT_IOCTLFUNCTION, ioctl_buffer);
1521
+ curl_easy_setopt(slot->curl, CURLOPT_IOCTLDATA, &out_buffer);
1522
+#endif
1523
curl_easy_setopt(slot->curl, CURLOPT_FILE, &in_buffer);
1524
curl_easy_setopt(slot->curl, CURLOPT_WRITEFUNCTION, fwrite_buffer);
1525
curl_easy_setopt(slot->curl, CURLOPT_URL, url);
1596
curl_easy_setopt(slot->curl, CURLOPT_INFILE, &out_buffer);
1597
curl_easy_setopt(slot->curl, CURLOPT_INFILESIZE, out_buffer.buf.len);
1598
curl_easy_setopt(slot->curl, CURLOPT_READFUNCTION, fread_buffer);
1599
+#ifndef NO_CURL_IOCTL
1600
+ curl_easy_setopt(slot->curl, CURLOPT_IOCTLFUNCTION, ioctl_buffer);
1601
+ curl_easy_setopt(slot->curl, CURLOPT_IOCTLDATA, &out_buffer);
1602
+#endif
1603
curl_easy_setopt(slot->curl, CURLOPT_FILE, &in_buffer);
1604
curl_easy_setopt(slot->curl, CURLOPT_WRITEFUNCTION, fwrite_buffer);
1605
curl_easy_setopt(slot->curl, CURLOPT_URL, repo->url);
1782
curl_easy_setopt(slot->curl, CURLOPT_INFILE, &out_buffer);
1783
curl_easy_setopt(slot->curl, CURLOPT_INFILESIZE, out_buffer.buf.len);
1784
curl_easy_setopt(slot->curl, CURLOPT_READFUNCTION, fread_buffer);
1785
+#ifndef NO_CURL_IOCTL
1786
+ curl_easy_setopt(slot->curl, CURLOPT_IOCTLFUNCTION, ioctl_buffer);
1787
+ curl_easy_setopt(slot->curl, CURLOPT_IOCTLDATA, &out_buffer);
1788
+#endif
1789
curl_easy_setopt(slot->curl, CURLOPT_WRITEFUNCTION, fwrite_null);
1790
curl_easy_setopt(slot->curl, CURLOPT_CUSTOMREQUEST, DAV_PUT);
1791
curl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, dav_headers);
1930
curl_easy_setopt(slot->curl, CURLOPT_INFILE, &buffer);
1931
curl_easy_setopt(slot->curl, CURLOPT_INFILESIZE, buffer.buf.len);
1932
curl_easy_setopt(slot->curl, CURLOPT_READFUNCTION, fread_buffer);
1933
+#ifndef NO_CURL_IOCTL
1934
+ curl_easy_setopt(slot->curl, CURLOPT_IOCTLFUNCTION, ioctl_buffer);
1935
+ curl_easy_setopt(slot->curl, CURLOPT_IOCTLDATA, &buffer);
1936
+#endif
1937
curl_easy_setopt(slot->curl, CURLOPT_WRITEFUNCTION, fwrite_null);
1938
curl_easy_setopt(slot->curl, CURLOPT_CUSTOMREQUEST, DAV_PUT);
1939
curl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, dav_headers);