gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: Comments


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: Comments
Date: Mon, 13 May 2019 17:32:11 +0200

This is an automated email from the git hooks/post-receive script.

marcello-stanisci pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 71b73f97b Comments
71b73f97b is described below

commit 71b73f97b5897f68243e3ee27d0fd424ef025cb0
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon May 13 17:31:37 2019 +0200

    Comments
---
 src/curl/curl.c | 7 +++++--
 1 file 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)
  * "Content-Type: application/json" header if @a add_json is set.
  *
  * @param ctx context to execute the job in
- * @param eh curl easy handle for the request, will
- *           be executed AND cleaned up
+ * @param eh curl easy handle for the request, will be executed AND
+ *           cleaned up.  NOTE: the handle should _never_ have gotten
+ *           any headers list, as that would then be ovverridden by
+ *           @a jcc.  Therefore, always pass custom headers as the
+ *           @a job_headers parameter.
  * @param job_headers extra headers to add for this request
  * @param jcc callback to invoke upon completion
  * @param jcc_cls closure for @a jcc

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]