Loïc Hoguin
|
1614335436
|
Remove a stream handlers related todo not worth doing
|
2018-06-27 18:08:29 +02:00 |
|
Loïc Hoguin
|
34f57ebbd3
|
Make sure cowboy_stream_h calls subsequent stream handlers
|
2018-06-27 18:07:58 +02:00 |
|
Loïc Hoguin
|
68ede9cfe4
|
Disable warnings for erlang:get_stacktrace/0 in OTP-21+
|
2018-06-27 17:52:25 +02:00 |
|
Loïc Hoguin
|
6b1db885d1
|
Use cowboy_req:stream_events in the eventsource example
|
2018-06-27 13:50:37 +02:00 |
|
Loïc Hoguin
|
0fb68ec07f
|
Add test cases for cowboy_req:stream_events
|
2018-06-27 13:40:11 +02:00 |
|
Loïc Hoguin
|
faefb634de
|
Document cowboy_req:stream_events/3
|
2018-06-27 10:29:49 +02:00 |
|
Loïc Hoguin
|
5001fcbc34
|
Add missing frame types to websocket_handle specs/docs
Thanks Artem.
|
2018-06-26 10:59:22 +02:00 |
|
Loïc Hoguin
|
7867e435fe
|
Fix tests for most recent Gun
|
2018-06-26 10:32:33 +02:00 |
|
Loïc Hoguin
|
b2b5e3a01a
|
Add an undocumented stream_events function
I will test it on a private project before settling on it.
|
2018-06-25 15:56:29 +02:00 |
|
Eric Meadows-Jönsson
|
f08f4610a0
|
Add streaming without chunking for HTTP/1.1
If content-length is set in the response headers
we can skip chunked transfer-encoding.
|
2018-06-25 11:44:38 +02:00 |
|
Loïc Hoguin
|
69451dd98d
|
The TLS certificate can be accessed directly
|
2018-06-11 20:51:57 +02:00 |
|
Loïc Hoguin
|
5758336453
|
Fix an example missing a " in the manual
|
2018-06-11 15:57:21 +02:00 |
|
Loïc Hoguin
|
76f19cf52d
|
Fix some formatting issues in the manual
|
2018-06-08 13:27:03 +02:00 |
|
Loïc Hoguin
|
a331145cde
|
Fix an incorrect section_title level in the manual
|
2018-06-06 18:03:01 +02:00 |
|
Loïc Hoguin
|
54c65ae49e
|
Fix the cowboy_stream manual page name
|
2018-06-06 14:42:39 +02:00 |
|
Loïc Hoguin
|
1a6407d8a8
|
Add a test for an empty host header in rfc7230
|
2018-06-04 14:33:24 +02:00 |
|
Loïc Hoguin
|
714b11639e
|
Add a comment about push requiring a secure connection
|
2018-06-04 14:32:50 +02:00 |
|
Loïc Hoguin
|
db8e713a86
|
Don't fail when copying erl_make_certs
|
2018-05-23 17:07:18 +02:00 |
|
Loïc Hoguin
|
15ed6df51a
|
Update Erlang.mk
Includes an experimental change to avoid deleting kerl
unnecessarily and/or incorrectly.
|
2018-05-22 17:48:34 +02:00 |
|
Loïc Hoguin
|
633aa89f00
|
Fix intermittent test failures in rfc7540_SUITE
|
2018-05-22 13:05:15 +02:00 |
|
Loïc Hoguin
|
dc58eea9b4
|
Ensure tests in rfc7540_SUITE can be repeated
|
2018-05-22 13:04:42 +02:00 |
|
Loïc Hoguin
|
6e00600d7d
|
Fix intermittent failure of max_frame_size_sent test
|
2018-05-20 18:17:49 +02:00 |
|
Loïc Hoguin
|
4e896fabd5
|
Update Erlang.mk
|
2018-05-20 12:17:32 +02:00 |
|
Loïc Hoguin
|
338b1ca3f7
|
Remove two broken absolute URI tests from old_http_SUITE
|
2018-05-18 18:46:36 +02:00 |
|
Loïc Hoguin
|
5d1cf36358
|
Remove the trailer header from HTTP/1.1 response if no TE
|
2018-05-18 18:38:38 +02:00 |
|
Loïc Hoguin
|
5229d790fb
|
Don't send transfer-encoding when streaming 204 responses
|
2018-05-18 18:38:26 +02:00 |
|
Loïc Hoguin
|
763eef4e46
|
Do not process HTTP/1.1 requests coming in after the last
|
2018-05-18 17:10:54 +02:00 |
|
Loïc Hoguin
|
07d454bdb7
|
Improve the limit_requests_keepalive test
We now check that the connection gets closed.
|
2018-05-18 16:56:54 +02:00 |
|
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 |
|