From 5ab82d972d1b300af56a680950726b810133cd89 Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Tue, 1 Jul 2014 03:13:16 +0000 Subject: Add HTTP transport tests with XHR client emulation These tests don't pass currently but I ran them against a hacked version of the HTTP server which never calls server_delete_session and they passed. --- ..._transport_api_reliability_https_xhr_peer2.conf | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/transport/test_transport_api_reliability_https_xhr_peer2.conf (limited to 'src/transport/test_transport_api_reliability_https_xhr_peer2.conf') diff --git a/src/transport/test_transport_api_reliability_https_xhr_peer2.conf b/src/transport/test_transport_api_reliability_https_xhr_peer2.conf new file mode 100644 index 000000000..7f7f80778 --- /dev/null +++ b/src/transport/test_transport_api_reliability_https_xhr_peer2.conf @@ -0,0 +1,31 @@ +@INLINE@ template_cfg_peer2.conf +[PATHS] +GNUNET_TEST_HOME = /tmp/test-transport/api-https-p2/ + +[transport-https_server] +PORT = 12310 +KEY_FILE = $GNUNET_TEST_HOME/https_key_p2.key +CERT_FILE = $GNUNET_TEST_HOME/https_cert_p2.crt + +[arm] +PORT = 12315 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock + +[statistics] +PORT = 12314 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-statistics.sock + +[resolver] +PORT = 12313 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-resolver.sock + +[peerinfo] +PORT = 12312 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-peerinfo.sock + +[transport] +PORT = 12311 +PLUGINS = https_server +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock + + -- cgit v1.2.3