summaryrefslogtreecommitdiffstats
path: root/_build/content/articles/cowboy-2.6.0.asciidoc
blob: 24f7b705c0671756c5e80490e1db8514c88bc038 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
+++
date = "2018-11-19T07:00:00+01:00"
title = "Cowboy 2.6"

+++

Cowboy `2.6.0` has been released!

Cowboy 2.6 greatly refactored the HTTP/2 code, a large
part of which was moved to Cowlib and is now used by
both the Cowboy server and the Gun client.

A large number of tickets were also closed which
resulted in many bugs fixed and many features and
options added, although some of them are still
experimental.

Of note is the support for the PROXY protocol header
built directly into Cowboy; the ability to use the
sendfile tuple to send files while streaming a
response body (for example you could build a tar
file on the fly); and experimental support for range
requests in the REST and static file handlers,
including an automatic mode that lets you enable
byte range requests to existing handlers with
what's basically a one-liner.

Many options have also been added and many bugs have
been fixed.

A complete
list of changes can be found in the migration guide:
https://ninenines.eu/docs/en/cowboy/2.6/guide/migrating_from_2.5/[Migrating from Cowboy 2.5 to 2.6].

You can donate to this project via
https://salt.bountysource.com/teams/ninenines[BountySource].
These funds are used to pay for additional servers for
testing.

As usual, feedback is appreciated, and issues or
questions should be sent via Github tickets. Thanks!