commit 650fbad5b606361507b457c835c4b127c4405594
parent fe0013a8551a788d8999f5e88c923d9ee3ebc2fb
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Tue, 15 May 2018 13:54:58 +0200
debug stmt
Diffstat:
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/twister/taler-twister-service.c b/src/twister/taler-twister-service.c
@@ -541,7 +541,9 @@ curl_download_cb (void *ptr,
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Curl download proceeding\n");
+
GNUNET_assert (REQUEST_STATE_DOWNLOAD_STARTED == hr->state);
+
if (hr->io_size - hr->io_len < total)
{
GNUNET_assert (total + hr->io_size >= total);
@@ -1236,6 +1238,10 @@ create_response (void *cls,
hr->io_len = malformed_size;
}
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "About to check flip path UL: %s\n",
+ flip_path_ul);
+
/* Upload (from the *client*) finished,
* generate curl request to the proxied service. */
if (NULL == hr->curl)
diff --git a/src/twister/twister_api.c b/src/twister/twister_api.c
@@ -325,6 +325,10 @@ TALER_TWISTER_flip_upload
struct GNUNET_MQ_Envelope *env;
struct TWISTER_FlipPath *src; //FIXME 'src' right name?
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Will UL-flip: %s\n",
+ path);
+
op = GNUNET_new (struct TALER_TWISTER_Operation);
op->h = h;
op->cb = cb;