diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-01-20 15:36:21 -0800 |
|---|---|---|
| committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2023-02-06 09:27:41 +0100 |
| commit | bd6d3de01fdc6fcf040a22718673766e754631b5 (patch) | |
| tree | 3dd46f22732bb5eee03d75df6f918dfff5fd88be /http.h | |
| parent | f39fe8fcb269e0b7ec48f2ea57fcb879908ac447 (diff) | |
| parent | f44e6a21057b0d8aae7c36f10537353330813f62 (diff) | |
| download | git-bd6d3de01fdc6fcf040a22718673766e754631b5.tar.xz | |
Merge branch 'jk/curl-avoid-deprecated-api'
Deal with a few deprecation warning from cURL library.
* jk/curl-avoid-deprecated-api:
http: support CURLOPT_PROTOCOLS_STR
http: prefer CURLOPT_SEEKFUNCTION to CURLOPT_IOCTLFUNCTION
http-push: prefer CURLOPT_UPLOAD to CURLOPT_PUT
Diffstat (limited to 'http.h')
| -rw-r--r-- | http.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,7 @@ struct buffer { size_t fread_buffer(char *ptr, size_t eltsize, size_t nmemb, void *strbuf); size_t fwrite_buffer(char *ptr, size_t eltsize, size_t nmemb, void *strbuf); size_t fwrite_null(char *ptr, size_t eltsize, size_t nmemb, void *strbuf); -curlioerr ioctl_buffer(CURL *handle, int cmd, void *clientp); +int seek_buffer(void *clientp, curl_off_t offset, int origin); /* Slot lifecycle functions */ struct active_request_slot *get_active_slot(void); |
