summaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_reliability_http_xhr_peer1.conf
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2014-07-01 03:13:16 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2014-07-01 03:13:16 +0000
commit5ab82d972d1b300af56a680950726b810133cd89 (patch)
tree72c2afde82d1003dc22cc24a19951a5d5a87380e /src/transport/test_transport_api_reliability_http_xhr_peer1.conf
parent0e07f3b3f6df0f56bc5b23820977864828616845 (diff)
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.
Diffstat (limited to 'src/transport/test_transport_api_reliability_http_xhr_peer1.conf')
-rw-r--r--src/transport/test_transport_api_reliability_http_xhr_peer1.conf34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/transport/test_transport_api_reliability_http_xhr_peer1.conf b/src/transport/test_transport_api_reliability_http_xhr_peer1.conf
new file mode 100644
index 000000000..c0cd835a5
--- /dev/null
+++ b/src/transport/test_transport_api_reliability_http_xhr_peer1.conf
@@ -0,0 +1,34 @@
+@INLINE@ template_cfg_peer1.conf
+[PATHS]
+GNUNET_TEST_HOME = /tmp/test-transport/api-http-p1/
+
+[transport-http_client]
+EMULATE_XHR = YES
+
+[transport-tcp]
+TIMEOUT = 5 s
+
+[transport-http]
+PORT = 12180
+
+[arm]
+PORT = 12185
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock
+
+[statistics]
+PORT = 12184
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-statistics.sock
+
+[resolver]
+PORT = 12183
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-resolver.sock
+
+[peerinfo]
+PORT = 12182
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock
+
+[transport]
+PORT = 12181
+PLUGINS = http_client
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock
+