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

Cowboy 2.6.2

Updates Cowlib to 2.7.2.
This commit is contained in:
Loïc Hoguin 2019-04-04 11:23:50 +02:00
parent 6f68d7d2d6
commit d5489b4c73
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
5 changed files with 28 additions and 5 deletions

View file

@ -2,7 +2,7 @@
PROJECT = cowboy PROJECT = cowboy
PROJECT_DESCRIPTION = Small, fast, modern HTTP server. PROJECT_DESCRIPTION = Small, fast, modern HTTP server.
PROJECT_VERSION = 2.6.1 PROJECT_VERSION = 2.6.2
PROJECT_REGISTERED = cowboy_clock PROJECT_REGISTERED = cowboy_clock
# Options. # Options.
@ -15,7 +15,7 @@ CT_OPTS += -ct_hooks cowboy_ct_hook [] # -boot start_sasl
LOCAL_DEPS = crypto LOCAL_DEPS = crypto
DEPS = cowlib ranch DEPS = cowlib ranch
dep_cowlib = git https://github.com/ninenines/cowlib master dep_cowlib = git https://github.com/ninenines/cowlib 2.7.2
dep_ranch = git https://github.com/ninenines/ranch 1.7.1 dep_ranch = git https://github.com/ninenines/ranch 1.7.1
DOC_DEPS = asciideck DOC_DEPS = asciideck

View file

@ -69,7 +69,7 @@ fetch and compile Cowboy:
PROJECT = hello_erlang PROJECT = hello_erlang
DEPS = cowboy DEPS = cowboy
dep_cowboy_commit = 2.6.1 dep_cowboy_commit = 2.6.2
DEP_PLUGINS = cowboy DEP_PLUGINS = cowboy

View file

@ -3,6 +3,29 @@
The following patch versions were released since Cowboy 2.6: The following patch versions were released since Cowboy 2.6:
=== Cowboy 2.6.2
This release updates Cowlib to 2.7.2.
A bug in the HTTP/2 code that resulted in the failure to
fully send iolist response bodies has been fixed. Cowboy
would just wait indefinitely in those cases.
Cowboy will now use the host header when the HTTP/2
:authority pseudo header is missing. A common scenario
where this occurs is when proxies translate incoming
HTTP/1.1 requests to HTTP/2.
The `cowboy_static` handler will now properly detect
the type of files that have an uppercase or mixed
extension component.
A bug where the stacktrace was incorrect in error messages
has been fixed. The problem occurred when an exception
occurred in the handler's terminate callback.
Minor documentation fixes.
=== Cowboy 2.6.1 === Cowboy 2.6.1
This release updates Ranch to 1.7.1. This release updates Ranch to 1.7.1.

View file

@ -1,6 +1,6 @@
{application, 'cowboy', [ {application, 'cowboy', [
{description, "Small, fast, modern HTTP server."}, {description, "Small, fast, modern HTTP server."},
{vsn, "2.6.1"}, {vsn, "2.6.2"},
{modules, ['cowboy','cowboy_app','cowboy_bstr','cowboy_children','cowboy_clear','cowboy_clock','cowboy_compress_h','cowboy_constraints','cowboy_handler','cowboy_http','cowboy_http2','cowboy_loop','cowboy_metrics_h','cowboy_middleware','cowboy_req','cowboy_rest','cowboy_router','cowboy_static','cowboy_stream','cowboy_stream_h','cowboy_sub_protocol','cowboy_sup','cowboy_tls','cowboy_tracer_h','cowboy_websocket']}, {modules, ['cowboy','cowboy_app','cowboy_bstr','cowboy_children','cowboy_clear','cowboy_clock','cowboy_compress_h','cowboy_constraints','cowboy_handler','cowboy_http','cowboy_http2','cowboy_loop','cowboy_metrics_h','cowboy_middleware','cowboy_req','cowboy_rest','cowboy_router','cowboy_static','cowboy_stream','cowboy_stream_h','cowboy_sub_protocol','cowboy_sup','cowboy_tls','cowboy_tracer_h','cowboy_websocket']},
{registered, [cowboy_sup,cowboy_clock]}, {registered, [cowboy_sup,cowboy_clock]},
{applications, [kernel,stdlib,crypto,cowlib,ranch]}, {applications, [kernel,stdlib,crypto,cowlib,ranch]},

View file

@ -1,4 +1,4 @@
{deps, [ {deps, [
{cowlib,".*",{git,"https://github.com/ninenines/cowlib","2.7.0"}},{ranch,".*",{git,"https://github.com/ninenines/ranch","1.7.1"}} {cowlib,".*",{git,"https://github.com/ninenines/cowlib","2.7.2"}},{ranch,".*",{git,"https://github.com/ninenines/ranch","1.7.1"}}
]}. ]}.
{erl_opts, [debug_info,warn_export_vars,warn_shadow_vars,warn_obsolete_guard,warn_missing_spec,warn_untyped_record]}. {erl_opts, [debug_info,warn_export_vars,warn_shadow_vars,warn_obsolete_guard,warn_missing_spec,warn_untyped_record]}.