From d5489b4c7360ebcb134db892fac50a2d7d406402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 4 Apr 2019 11:23:50 +0200 Subject: Cowboy 2.6.2 Updates Cowlib to 2.7.2. --- Makefile | 4 ++-- doc/src/guide/getting_started.asciidoc | 2 +- doc/src/guide/migrating_from_2.6.asciidoc | 23 +++++++++++++++++++++++ ebin/cowboy.app | 2 +- rebar.config | 2 +- 5 files changed, 28 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index ee91350..f1c95d4 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PROJECT = cowboy PROJECT_DESCRIPTION = Small, fast, modern HTTP server. -PROJECT_VERSION = 2.6.1 +PROJECT_VERSION = 2.6.2 PROJECT_REGISTERED = cowboy_clock # Options. @@ -15,7 +15,7 @@ CT_OPTS += -ct_hooks cowboy_ct_hook [] # -boot start_sasl LOCAL_DEPS = crypto 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 DOC_DEPS = asciideck diff --git a/doc/src/guide/getting_started.asciidoc b/doc/src/guide/getting_started.asciidoc index 3215fb9..97f2b20 100644 --- a/doc/src/guide/getting_started.asciidoc +++ b/doc/src/guide/getting_started.asciidoc @@ -69,7 +69,7 @@ fetch and compile Cowboy: PROJECT = hello_erlang DEPS = cowboy -dep_cowboy_commit = 2.6.1 +dep_cowboy_commit = 2.6.2 DEP_PLUGINS = cowboy diff --git a/doc/src/guide/migrating_from_2.6.asciidoc b/doc/src/guide/migrating_from_2.6.asciidoc index 0adab3e..14ce5d5 100644 --- a/doc/src/guide/migrating_from_2.6.asciidoc +++ b/doc/src/guide/migrating_from_2.6.asciidoc @@ -3,6 +3,29 @@ 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 This release updates Ranch to 1.7.1. diff --git a/ebin/cowboy.app b/ebin/cowboy.app index acd0485..3857084 100644 --- a/ebin/cowboy.app +++ b/ebin/cowboy.app @@ -1,6 +1,6 @@ {application, 'cowboy', [ {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']}, {registered, [cowboy_sup,cowboy_clock]}, {applications, [kernel,stdlib,crypto,cowlib,ranch]}, diff --git a/rebar.config b/rebar.config index 0b2f621..4ab183e 100644 --- a/rebar.config +++ b/rebar.config @@ -1,4 +1,4 @@ {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]}. -- cgit v1.2.3