aboutsummaryrefslogtreecommitdiff
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)
downloadgnunet-5ab82d972d1b300af56a680950726b810133cd89.tar.gz
gnunet-5ab82d972d1b300af56a680950726b810133cd89.zip
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 @@
1@INLINE@ template_cfg_peer1.conf
2[PATHS]
3GNUNET_TEST_HOME = /tmp/test-transport/api-http-p1/
4
5[transport-http_client]
6EMULATE_XHR = YES
7
8[transport-tcp]
9TIMEOUT = 5 s
10
11[transport-http]
12PORT = 12180
13
14[arm]
15PORT = 12185
16UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock
17
18[statistics]
19PORT = 12184
20UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-statistics.sock
21
22[resolver]
23PORT = 12183
24UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-resolver.sock
25
26[peerinfo]
27PORT = 12182
28UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock
29
30[transport]
31PORT = 12181
32PLUGINS = http_client
33UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock
34