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_peer1.conf | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/transport/test_transport_api_reliability_https_xhr_peer1.conf (limited to 'src/transport/test_transport_api_reliability_https_xhr_peer1.conf') diff --git a/src/transport/test_transport_api_reliability_https_xhr_peer1.conf b/src/transport/test_transport_api_reliability_https_xhr_peer1.conf new file mode 100644 index 000000000..614e371da --- /dev/null +++ b/src/transport/test_transport_api_reliability_https_xhr_peer1.conf @@ -0,0 +1,28 @@ +@INLINE@ template_cfg_peer1.conf +[PATHS] +GNUNET_TEST_HOME = /tmp/test-transport/api-https-p1/ + +[transport-https_client] +EMULATE_XHR = YES + +[arm] +PORT = 12305 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock + +[statistics] +PORT = 12304 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-statistics.sock + +[resolver] +PORT = 12303 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-resolver.sock + +[peerinfo] +PORT = 12302 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock + +[transport] +PORT = 12301 +PLUGINS = https_client +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock + -- cgit v1.2.3