diff options
Diffstat (limited to 'src/curl/curl.c')
-rw-r--r-- | src/curl/curl.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/curl/curl.c b/src/curl/curl.c index 0a6cde8a9..749094800 100644 --- a/src/curl/curl.c +++ b/src/curl/curl.c | |||
@@ -267,8 +267,11 @@ download_cb (char *bufptr, size_t size, size_t nitems, void *cls) | |||
267 | * "Content-Type: application/json" header if @a add_json is set. | 267 | * "Content-Type: application/json" header if @a add_json is set. |
268 | * | 268 | * |
269 | * @param ctx context to execute the job in | 269 | * @param ctx context to execute the job in |
270 | * @param eh curl easy handle for the request, will | 270 | * @param eh curl easy handle for the request, will be executed AND |
271 | * be executed AND cleaned up | 271 | * cleaned up. NOTE: the handle should _never_ have gotten |
272 | * any headers list, as that would then be ovverridden by | ||
273 | * @a jcc. Therefore, always pass custom headers as the | ||
274 | * @a job_headers parameter. | ||
272 | * @param job_headers extra headers to add for this request | 275 | * @param job_headers extra headers to add for this request |
273 | * @param jcc callback to invoke upon completion | 276 | * @param jcc callback to invoke upon completion |
274 | * @param jcc_cls closure for @a jcc | 277 | * @param jcc_cls closure for @a jcc |