[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23434 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23434 - gnunet/src/transport |
Date: |
Mon, 27 Aug 2012 14:08:05 +0200 |
Author: wachs
Date: 2012-08-27 14:08:05 +0200 (Mon, 27 Aug 2012)
New Revision: 23434
Modified:
gnunet/src/transport/plugin_transport_http_client.c
Log:
code
Modified: gnunet/src/transport/plugin_transport_http_client.c
===================================================================
--- gnunet/src/transport/plugin_transport_http_client.c 2012-08-27 11:51:11 UTC
(rev 23433)
+++ gnunet/src/transport/plugin_transport_http_client.c 2012-08-27 12:08:05 UTC
(rev 23434)
@@ -720,7 +720,6 @@
static void
client_run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
{
- GNUNET_break (0);
struct HTTP_Client_Plugin *plugin = cls;
int running;
CURLMcode mret;
@@ -804,11 +803,11 @@
return GNUNET_SYSERR;
}
- GNUNET_asprintf (&url, "%s%s;%u",
+ GNUNET_asprintf (&url, "%s/%s;%u",
http_common_plugin_address_to_string (plugin, s->addr, s->addrlen),
GNUNET_h2s_full (&plugin->env->my_identity->hashPubKey),
plugin->last_tag);
-
+ plugin->last_tag++;
GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name,
"Initiating outbound session peer `%s' using address
`%s'\n",
GNUNET_i2s (&s->target), url);
@@ -1051,7 +1050,6 @@
GNUNET_log (TIMEOUT_LOG,
"Timeout for session %p set to %llu ms\n",
s, (unsigned long long) TIMEOUT.rel_value);
- GNUNET_break (0);
}
/**
@@ -1071,7 +1069,6 @@
GNUNET_log (TIMEOUT_LOG,
"Timeout rescheduled for session %p set to %llu ms\n",
s, (unsigned long long) TIMEOUT.rel_value);
- GNUNET_break (0);
}
/**
@@ -1201,6 +1198,7 @@
plugin->name = "transport-http_client";
plugin->protocol = "http";
#endif
+ plugin->last_tag = 1;
if (GNUNET_SYSERR == client_configure_plugin (plugin))
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23434 - gnunet/src/transport,
gnunet <=