0.9.0pre0:
* TRANSPORT:
- - core dump / jump to nowhere (valgrind) in udp test in transports
- TCP not used bi-directionally (especially important also for PONG!)
Need a way for plugin to tell to service that it can *reliably* transmit
PONGs. Need *good* way to ensure only one (plugin) session is active at
#define DEBUG_UDP GNUNET_NO
-/*
+/**
* Transport cost to peer, always 1 for UDP (direct connection)
*/
#define UDP_DIRECT_DISTANCE 1
-/**
- * Handle for request of hostname resolution, non-NULL if pending.
- */
-static struct GNUNET_RESOLVER_RequestHandle *hostname_dns;
-
/**
* How long until we give up on transmitting the welcome message?
*/
struct Plugin *plugin = api->cls;
udp_transport_server_stop (plugin);
- if (NULL != hostname_dns)
+ if (NULL != plugin->hostname_dns)
{
- GNUNET_RESOLVER_request_cancel (hostname_dns);
- hostname_dns = NULL;
+ GNUNET_RESOLVER_request_cancel (plugin->hostname_dns);
+ plugin->hostname_dns = NULL;
}
GNUNET_SERVICE_stop (plugin->service);
HOME = $SERVICEHOME
HOSTNAME = localhost
PORT = 12365
-PREFIX = valgrind --track-origins=yes --leak-check=full --log-file=valgrind_udp_peer1.log
+#PREFIX = valgrind --track-origins=yes --leak-check=full --log-file=valgrind_udp_peer1.log
#PREFIX = xterm -e xterm -T transport -e gdb --args
[peerinfo]