0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00
Commit graph

1866 commits

Author SHA1 Message Date
Loïc Hoguin
6c04875111
Fix the ignore_requests_after_response_connection_close test
It was not working at all.
2018-05-18 15:17:07 +02:00
Loïc Hoguin
95710da617
Comment out the origin_form_reject_if_connect test
We don't implement CONNECT yet so we unconditionally return
a 501 for these requests and that makes this test fail.
2018-05-18 15:16:14 +02:00
Loïc Hoguin
2f9ab91cdd
Add more validation of absolute-form request targets 2018-05-18 15:12:31 +02:00
Loïc Hoguin
5cb244eb7a
Remove more old_http_SUITE tests 2018-05-18 10:41:31 +02:00
Loïc Hoguin
753ba2e36d
Remove the set_env test from old_http_SUITE
It duplicated a test in misc_SUITE. Also fix a couple issues
in misc_SUITE including a test that was not being executed.
2018-05-17 21:04:40 +02:00
Loïc Hoguin
36b32194b7
Remove the parse_host test from old_http_SUITE
It seems to just be a duplicate of something we now have
in Cowlib.
2018-05-17 21:02:54 +02:00
Loïc Hoguin
fb5a261614
Move a router test from old_http_SUITE to cowboy_router 2018-05-17 17:53:16 +02:00
Loïc Hoguin
0254c80c33
Move timeout tests from old_http_SUITE to http_SUITE
Also fix the idle_timeout test which was producing
an extra crash log.
2018-05-17 17:41:55 +02:00
Loïc Hoguin
fd2643b017
Remove more tests from old_http_SUITE which exist elsewhere 2018-05-17 16:47:02 +02:00
Loïc Hoguin
3d35319112
Remove/convert tests about request body from old_http_SUITE 2018-05-17 16:23:33 +02:00
Loïc Hoguin
9ee8904cc6
Remove a broken test from loop_handler_SUITE
The feature was removed in Cowboy 2.0. An alternative to obtain
the same behavior will be introduced as cowboy_req:read_body_async/1.
2018-05-17 13:39:35 +02:00
Loïc Hoguin
619273e10e
Speed up testing large static files, 32MB instead of 512MB 2018-05-17 11:35:08 +02:00
Loïc Hoguin
aca57c2e33
Make examples_SUITE runs nearly twice faster 2018-05-17 11:27:52 +02:00
Loïc Hoguin
0e629f4799
Add option linger_timeout to cowboy_http 2018-05-16 16:01:30 +02:00
Loïc Hoguin
827bd8c1c9
Increase a timeout to make some slower tests pass 2018-05-16 14:04:58 +02:00
Loïc Hoguin
474cb359ce
Update erlang.mk and rebar.config 2018-05-16 12:28:55 +02:00
Loïc Hoguin
cc49659f93
Wrap the sendfile call in a try/catch for HTTP
This should reduce the amount of noise in RabbitMQ.
2018-05-16 12:28:23 +02:00
Loïc Hoguin
ae6c787062
Honor the SETTINGS_ENABLE_PUSH from clients
This fixes curl when fetching resources that use push.
2018-05-16 11:00:25 +02:00
Loïc Hoguin
204fa12df8
Run h2spec over TCP instead of TLS 2018-05-16 10:50:09 +02:00
Loïc Hoguin
d732e74dd5
Use default port when not given in :authority 2018-05-16 10:42:25 +02:00
Loïc Hoguin
93e8744e22
Move cowboy_iolists to Cowlib as cow_iolists
Depend on Cowlib master for the moment.
2018-05-07 15:33:11 +02:00
Loïc Hoguin
859137e3b0
Add a test suite for RFC8297
Not much to test but heh.
2018-05-07 13:05:50 +02:00
Loïc Hoguin
e2dcc39e12
Update Erlang.mk 2018-05-02 18:23:03 +02:00
Loïc Hoguin
f0d9805601
Fix cowboy_http2 manual page formatting
[ci skip]
2018-05-02 11:08:40 +02:00
Loïc Hoguin
28d3515d71
Remove a bunch of todos 2018-04-30 18:39:27 +02:00
Loïc Hoguin
5d5f3f8461
Update Cowboy to 2.4.0 2018-04-30 15:12:09 +02:00
Loïc Hoguin
42439b93db
Update Cowlib to 2.3.0 2018-04-30 15:11:06 +02:00
Loïc Hoguin
3ebd01805f
Fix some intermittent test issues in rfc7540 2018-04-30 14:23:38 +02:00
Loïc Hoguin
7d4791b32c
Fix some rfc7540 tests that had an empty :path 2018-04-30 13:48:34 +02:00
Loïc Hoguin
658620019c
Reduce the time we wait during h2spec requests 2018-04-30 13:48:09 +02:00
Loïc Hoguin
8d1f468ac0
Reject HTTP/2 requests with a body size different than content-length 2018-04-30 13:47:33 +02:00
Loïc Hoguin
17349fafc2
Add tests for rejecting streams depending on themselves 2018-04-29 20:32:36 +02:00
Loïc Hoguin
84b4128d06
Receive and ignore HTTP/2 request trailers if any
This is a first step toward properly supporting request trailers.
2018-04-29 17:39:48 +02:00
Loïc Hoguin
2db5ffbf84
Add SETTINGS ack timeout and option settings_timeout 2018-04-28 11:00:50 +02:00
Loïc Hoguin
add71bfb7e
Fix intermittent test failures for rfc7540 2018-04-28 00:53:12 +02:00
Loïc Hoguin
3d6bb01d5f
Reject WINDOW_UPDATE frames sent after an RST_STREAM 2018-04-27 20:45:34 +02:00
Loïc Hoguin
5d5a00c863
Fix an rfc7540 test to have a different error reason 2018-04-27 20:19:02 +02:00
Loïc Hoguin
9a29aea148
Add options controlling maximum h2 frame sizes 2018-04-27 17:58:37 +02:00
Loïc Hoguin
d38d86c4a9
Add options controlling initial control flow windows 2018-04-26 22:08:05 +02:00
Loïc Hoguin
b2f16d462a
Fix building of h2spec on FreeBSD 2018-04-26 13:05:40 +02:00
Loïc Hoguin
7373822b86
Add the max_concurrent_streams h2 option 2018-04-25 21:32:58 +02:00
Loïc Hoguin
8bd55941aa
Fix the h2spec git URL 2018-04-25 18:21:56 +02:00
Loïc Hoguin
8f4adf437c
Add options to control h2's SETTINGS_HEADER_TABLE_SIZE 2018-04-25 16:55:52 +02:00
Loïc Hoguin
bc79529b4d
Build h2spec automatically when running tests 2018-04-25 12:07:44 +02:00
Loïc Hoguin
8b9a09c9fe
HTTP/2 informational responses don't end the stream 2018-04-23 15:49:34 +02:00
Loïc Hoguin
9af8b0d23a
Add missing enable_connect_protocol in typespecs 2018-04-23 14:34:53 +02:00
Loïc Hoguin
29234292e0
Add a Websocket test with 3000 connections
To ensure the connections are not limited by max_connections.
2018-04-17 18:54:47 +02:00
Loïc Hoguin
7c366986d5
Update Ranch to 1.5.0 2018-04-10 13:43:50 +02:00
Loïc Hoguin
ac349120f6
Depend on Cowlib master for now 2018-04-06 17:39:48 +02:00
getong
8be6667a85
update doc 2018-04-05 20:12:18 +02:00