CURLMcode mret;
#if VERBOSE_CLIENT
+#endif
GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name,
"Initiating outbound session peer `%s'\n",
GNUNET_i2s (&s->target));
-#endif
+
s->inbound = GNUNET_NO;
GNUNET_h2s_full (&plugin->env->my_identity->hashPubKey),
plugin->last_tag);
#if 0
- GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name, "URL `%s'\n", url);
#endif
+ GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, plugin->name, "URL `%s'\n", url);
+ GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, plugin->name, "ADDRESS `%s'\n", http_plugin_address_to_string (plugin, s->addr, s->addrlen));
/* create get connection */
s->client_get = curl_easy_init ();
#if VERBOSE_CURL
/* Check if both directions are connected */
if ((sc->session->server_recv == NULL) || (sc->session->server_send == NULL))
{
+#if VERBOSE_SERVER
+ GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name,
+ "Server: Delayed read from `%s' `%s' since not both semi-connections are connected\n",
+ GNUNET_i2s (&s->target),
+ http_plugin_address_to_string (NULL, s->addr, s->addrlen));
+#endif
return MHD_YES;
}
SERVICEHOME = /tmp/test-transport/api-tcp-p1/
DEFAULTCONFIG = template_cfg_peer1.conf
+[nat]
+RETURN_LOCAL_ADDRESSES = YES
+DISABLEV6 = NO
+
[transport-tcp]
PORT = 12000
TIMEOUT = 5000
#DEBUG = YES
PORT = 12006
UNIXPATH = /tmp/gnunet-p1-service-ats.sock
-
-[nat]
-RETURN_LOCAL_ADDRESSES = YES
\ No newline at end of file
SERVICEHOME = /tmp/test-transport/api-tcp-p2/
DEFAULTCONFIG = template_cfg_peer2.conf
+[nat]
+RETURN_LOCAL_ADDRESSES = YES
+DISABLEV6 = NO
+
[transport-tcp]
PORT = 12100
TIMEOUT = 5000
#DEBUG = YES
PORT = 12016
UNIXPATH = /tmp/gnunet-p2-service-ats.sock
-
-[nat]
-RETURN_LOCAL_ADDRESSES = YES
\ No newline at end of file
+++ /dev/null
-@INLINE@ test_transport_defaults.conf
-[PATHS]
-SERVICEHOME = /tmp/test-transport/plugin_http/
-DEFAULTCONFIG = test_plugin_transport_data_http.conf
-
-[transport-tcp]
-TIMEOUT = 5000
-
-[transport-http]
-PORT = 12320
-DEBUG = YES
-USE_IPv6 = YES
-
-[transport-https]
-PORT = 12321
-CRYPTO_INIT = NONE:+VERS-TLS1.0:+ARCFOUR-128:+SHA1:+RSA:+COMP-NULL
-KEY_FILE = https_key.key
-CERT_FILE = https_cert.crt
-DEBUG = YES
-USE_IPv6 = YES
-
-[arm]
-PORT = 12323
-
-[statistics]
-PORT = 12322
-
-
[transport-http]
PORT = 4010
-DEBUG = NO
-USE_IPv4 = YES
-USE_IPv6 = NO
-BINDTO4 = 127.0.0.1
[arm]
PORT = 4015
[transport-http]
PORT = 3010
-DEBUG = NO
-USE_IPv4 = YES
-USE_IPv6 = NO
-BINDTO4 = 127.0.0.1
[arm]
PORT = 3015
[transport-http]
PORT = 4010
-DEBUG = NO
-USE_IPv4 = YES
-USE_IPv6 = NO
-BINDTO4 = 127.0.0.1
[arm]
PORT = 4015
[transport-http]
PORT = 3010
-DEBUG = NO
-USE_IPv4 = YES
-USE_IPv6 = NO
-BINDTO4 = 127.0.0.1
[arm]
PORT = 3015
PORT = 4001
KEY_FILE = https_key_quota_p1.key
CERT_FILE = https_cert_quota_p1.crt
-USE_IPv4 = YES
-USE_IPv6 = NO
-BINDTO4 = 127.0.0.1
[arm]
PORT = 4006
PORT = 3001
KEY_FILE = https_key_quota_p2.key
CERT_FILE = https_cert_qutoa_p2.crt
-USE_IPv4 = YES
-USE_IPv6 = NO
-BINDTO4 = 127.0.0.1
[arm]
PORT = 3006
PORT = 4001
KEY_FILE = https_key_quota_p1.key
CERT_FILE = https_cert_quota_p1.crt
-USE_IPv4 = YES
-USE_IPv6 = NO
-BINDTO4 = 127.0.0.1
[arm]
PORT = 4006
PORT = 3001
KEY_FILE = https_key_quota_p2.key
CERT_FILE = https_cert_qutoa_p2.crt
-USE_IPv4 = YES
-USE_IPv6 = NO
-BINDTO4 = 127.0.0.1
[arm]
PORT = 3006
[nat]
BEHIND_NAT = YES
ENABLE_NAT_SERVER = YES
-DISABLEV6 = YES
[transport-http]
PORT = 0
-USE_IPv6 = YES
-USE_IPv4 = YES
-DISABLEV6 = NO
-#BINDTO = 127.0.0.1
-#BINDTO6 = ::1
[arm]
PORT = 12085
SERVICEHOME = /tmp/test-transport/api-http-p2/
DEFAULTCONFIG = test_transport_api_http_nat_peer2.conf
-[nat]
-DISABLEV6 = NO
-
[transport-http]
PORT = 12090
-USE_IPv6 = YES
-USE_IPv4 = YES
-DISABLEV6 = NO
-#BINDTO = 127.0.0.1
[arm]
PORT = 12095
SERVICEHOME = /tmp/test-transport/api-http-p1/
DEFAULTCONFIG = test_transport_api_http_peer1.conf
-[nat]
-DISABLEV6 = NO
-
[transport-http]
PORT = 12080
-#USE_IPv6 = NO
-USE_IPv4 = YES
-DISABLEV6 = NO
-#BINDTO = 127.0.0.1
-#BINDTO6 = ::1
[arm]
PORT = 12085
SERVICEHOME = /tmp/test-transport/api-http-p2/
DEFAULTCONFIG = test_transport_api_http_peer2.conf
-[nat]
-DISABLEV6 = NO
-
[transport-http]
PORT = 12090
-USE_IPv6 = YES
-USE_IPv4 = YES
-DISABLEV6 = NO
-#BINDTO = 127.0.0.1
[arm]
PORT = 12095
[nat]
BEHIND_NAT = YES
ENABLE_NAT_SERVER = YES
-DISABLEV6 = YES
[transport-https]
PORT = 0
KEY_FILE = $SERVICEHOME/https_key_p1.key
CERT_FILE = $SERVICEHOME/https_cert_p1.crt
-USE_IPv6 = YES
-USE_IPv4 = YES
[arm]
PORT = 12105
PORT = 12110
KEY_FILE = $SERVICEHOME/https_key_p2.key
CERT_FILE = $SERVICEHOME/https_cert_p2.crt
-USE_IPv6 = YES
-USE_IPv4 = YES
[arm]
PORT = 12115
PORT = 12100
KEY_FILE = $SERVICEHOME/https_key_p1.key
CERT_FILE = $SERVICEHOME/https_cert_p1.crt
-USE_IPv6 = YES
-USE_IPv4 = YES
[arm]
PORT = 12105
PORT = 12110
KEY_FILE = $SERVICEHOME/https_key_p2.key
CERT_FILE = $SERVICEHOME/https_cert_p2.crt
-USE_IPv6 = YES
-USE_IPv4 = YES
[arm]
PORT = 12115
[transport-http]
PORT = 12142
-USE_IPv6 = YES
-USE_IPv4 = YES
[transport-https]
PORT = 12143
-USE_IPv6 = YES
-USE_IPv4 = YES
[arm]
PORT = 12149
[transport-http]
PORT = 12152
-USE_IPv6 = YES
-USE_IPv4 = YES
[transport-https]
PORT = 12153
-USE_IPv6 = YES
-USE_IPv4 = YES
[arm]
PORT = 12159
[transport-http]
PORT = 0
-USE_IPv6 = YES
-USE_IPv4 = YES
[arm]
PORT = 12085
TOTAL_QUOTA_OUT = 1073741824
TOTAL_QUOTA_IN = 1073741824
-[nat]
-DISABLEV6 = NO
-
[transport-http]
PORT = 12090
-USE_IPv6 = YES
-USE_IPv4 = YES
-DISABLEV6 = NO
-#BINDTO = 127.0.0.1
[arm]
PORT = 12095
[transport-http]
PORT = 12180
-USE_IPv4 = YES
-USE_IPv6 = NO
-BINDTO4 = 127.0.0.1
[arm]
PORT = 12185
[transport-http]
PORT = 12190
-USE_IPv4 = YES
-USE_IPv6 = NO
-BINDTO4 = 127.0.0.1
[arm]
PORT = 12195
[nat]
BEHIND_NAT = YES
ENABLE_NAT_SERVER = YES
-DISABLEV6 = YES
[transport-https]
PORT = 0
KEY_FILE = $SERVICEHOME/https_key_p1.key
CERT_FILE = $SERVICEHOME/https_cert_p1.crt
-USE_IPv6 = YES
-USE_IPv4 = YES
[arm]
PORT = 12105
PORT = 12110
KEY_FILE = $SERVICEHOME/https_key_p2.key
CERT_FILE = $SERVICEHOME/https_cert_p2.crt
-USE_IPv6 = YES
-USE_IPv4 = YES
[arm]
PORT = 12115
PORT = 12300
KEY_FILE = $SERVICEHOME/https_key_p1.key
CERT_FILE = $SERVICEHOME/https_cert_p1.crt
-USE_IPv4 = YES
-USE_IPv6 = NO
-BINDTO4 = 127.0.0.1
[arm]
PORT = 12305
PORT = 12310
KEY_FILE = $SERVICEHOME/https_key_p2.key
CERT_FILE = $SERVICEHOME/https_cert_p2.crt
-USE_IPv4 = YES
-USE_IPv6 = NO
-BINDTO4 = 127.0.0.1
[arm]
PORT = 12315
DEFAULTCONFIG = test_transport_api_http_peer1.conf
[nat]
-DISABLEV6 = NO
[transport-http]
PORT = 12080
-USE_IPv6 = YES
-USE_IPv4 = YES
-DISABLEV6 = NO
-#BINDTO = 127.0.0.1
-#BINDTO6 = ::1
[arm]
PORT = 12085
DEFAULTCONFIG = test_transport_api_http_peer2.conf
[nat]
-DISABLEV6 = NO
[transport-http]
PORT = 12090
-USE_IPv6 = YES
-USE_IPv4 = YES
-DISABLEV6 = NO
-#BINDTO = 127.0.0.1
[arm]
PORT = 12095
PORT = 12100
KEY_FILE = $SERVICEHOME/https_key_p1.key
CERT_FILE = $SERVICEHOME/https_cert_p1.crt
-USE_IPv6 = YES
-USE_IPv4 = YES
[arm]
PORT = 12105
PORT = 12110
KEY_FILE = $SERVICEHOME/https_key_p2.key
CERT_FILE = $SERVICEHOME/https_cert_p2.crt
-USE_IPv6 = YES
-USE_IPv4 = YES
[arm]
PORT = 12115