mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Preliminary h2 flow control support
Existing tests pass. A number of things remain to be done. Has only been tested with Gun so far. Feedback welcome!
This commit is contained in:
parent
304e3efbf8
commit
f3e5f3e410
5 changed files with 232 additions and 64 deletions
|
@ -49,10 +49,10 @@ init_dispatch(Config) ->
|
|||
{"/resp/:key[/:arg]", resp_h, []},
|
||||
{"/multipart[/:key]", multipart_h, []},
|
||||
{"/args/:key/:arg[/:default]", echo_h, []},
|
||||
{"/crash/:key/period", echo_h, #{length => infinity, period => 1000, crash => true}},
|
||||
{"/crash/:key/period", echo_h, #{length => 999999999, period => 1000, crash => true}},
|
||||
{"/no-opts/:key", echo_h, #{crash => true}},
|
||||
{"/opts/:key/length", echo_h, #{length => 1000}},
|
||||
{"/opts/:key/period", echo_h, #{length => infinity, period => 1000}},
|
||||
{"/opts/:key/period", echo_h, #{length => 999999999, period => 1000}},
|
||||
{"/opts/:key/timeout", echo_h, #{timeout => 1000, crash => true}},
|
||||
{"/full/:key", echo_h, []},
|
||||
{"/no/:key", echo_h, []},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue