if (s->client_put != NULL)
{
GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name,
- "Session %p/connection %p: disconnecting PUT connectionto peer `%s'\n",
+ "Session %p/connection %p: disconnecting PUT connection to peer `%s'\n",
s, s->client_put, GNUNET_i2s (&s->target));
/* remove curl handle from multi handle */
* How long until we give up on transmitting the message?
*/
#define WAIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5)
-#define TIMEOUT GNUNET_TIME_relative_multiply (WAIT, 3)
+#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30)
/**
* Our public key.
GNUNET_SCHEDULER_cancel (timeout_wait);
timeout_wait = GNUNET_SCHEDULER_NO_TASK;
}
+
+ if (NULL != cls)
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ _("Test took too long to execute, timeout .... \n"));
+ }
+
if (NULL != libname)
{
if (NULL != api)
char *plugin;
char *sep;
- timeout_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, end_badly, NULL);
+ timeout_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, end_badly, &ok);
cfg = c;
/* parse configuration */