diff options
author | David Barksdale <amatus.amongus@gmail.com> | 2014-07-01 03:13:16 +0000 |
---|---|---|
committer | David Barksdale <amatus.amongus@gmail.com> | 2014-07-01 03:13:16 +0000 |
commit | 5ab82d972d1b300af56a680950726b810133cd89 (patch) | |
tree | 72c2afde82d1003dc22cc24a19951a5d5a87380e /src/transport/test_transport_api_reliability_http_xhr_peer1.conf | |
parent | 0e07f3b3f6df0f56bc5b23820977864828616845 (diff) | |
download | gnunet-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.conf | 34 |
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] | ||
3 | GNUNET_TEST_HOME = /tmp/test-transport/api-http-p1/ | ||
4 | |||
5 | [transport-http_client] | ||
6 | EMULATE_XHR = YES | ||
7 | |||
8 | [transport-tcp] | ||
9 | TIMEOUT = 5 s | ||
10 | |||
11 | [transport-http] | ||
12 | PORT = 12180 | ||
13 | |||
14 | [arm] | ||
15 | PORT = 12185 | ||
16 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | ||
17 | |||
18 | [statistics] | ||
19 | PORT = 12184 | ||
20 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-statistics.sock | ||
21 | |||
22 | [resolver] | ||
23 | PORT = 12183 | ||
24 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-resolver.sock | ||
25 | |||
26 | [peerinfo] | ||
27 | PORT = 12182 | ||
28 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock | ||
29 | |||
30 | [transport] | ||
31 | PORT = 12181 | ||
32 | PLUGINS = http_client | ||
33 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock | ||
34 | |||