aboutsummaryrefslogtreecommitdiffstats
path: root/test/sse_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-08-02 14:30:08 +0200
committerLoïc Hoguin <[email protected]>2019-08-05 19:57:13 +0200
commit611f9a9b78cab4005892e13dffb7a2c8e44580ee (patch)
treed8d3fc407110ea12333ba122cf711326e82a7070 /test/sse_SUITE.erl
parent145b9af4bdbb85e2f83959ee8abaa4d9207a4529 (diff)
downloadgun-611f9a9b78cab4005892e13dffb7a2c8e44580ee.tar.gz
gun-611f9a9b78cab4005892e13dffb7a2c8e44580ee.tar.bz2
gun-611f9a9b78cab4005892e13dffb7a2c8e44580ee.zip
Add flow control
Flow control is disabled by default. The initial flow value must be set to enable it (either for the entire connection or on a per-request basis). Flow applies to all HTTP streams as well as Websocket. HTTP/2 pushed streams receive the same value as their originating stream.
Diffstat (limited to 'test/sse_SUITE.erl')
-rw-r--r--test/sse_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sse_SUITE.erl b/test/sse_SUITE.erl
index f950bf7..dc46311 100644
--- a/test/sse_SUITE.erl
+++ b/test/sse_SUITE.erl
@@ -31,7 +31,7 @@ end_per_suite(Config) ->
init_routes() -> [
{"localhost", [
- {"/clock", sse_clock_h, []},
+ {"/clock", sse_clock_h, date},
{"/lone_id", sse_lone_id_h, []}
]}
].