Loïc Hoguin
d38d86c4a9
Add options controlling initial control flow windows
2018-04-26 22:08:05 +02:00
Loïc Hoguin
7373822b86
Add the max_concurrent_streams h2 option
2018-04-25 21:32:58 +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
bbfc1569cc
Add initial implementation of Websocket over HTTP/2
...
Using the current draft:
https://tools.ietf.org/html/draft-ietf-httpbis-h2-websockets-01
2018-04-04 17:23:37 +02:00
Loïc Hoguin
a7b06f2e13
Tentatively update Cowboy to 2.3.0
2018-03-28 18:15:40 +02:00
Kirill Kinduk
4c34774b7e
Add max_frame_size option for websocket handlers
...
Option allows to limit a frame by size before decoding its payload.
LH: I have added a test for when the limit is reached on a nofin
fragmented frame (the last commit addressed that case but it had
no test). I have fixed formatting and other, and changed the
default value to infinity since it might otherwise be incompatible
with existing code. I also added documentation and a bunch of other
minor changes.
2018-03-28 16:58:02 +02:00
Gary Rennie
288deb5b88
Remove duplicate keys from map in inform docs
...
This is the equivalent way of doing the same thing using a single header.
2018-03-27 23:10:27 +02:00
Loïc Hoguin
31092b546c
Add RFC 8336 to the list
2018-03-23 16:22:04 +01:00
Loïc Hoguin
e23e12287a
Add a new relevant RFC
2018-02-15 23:33:04 +01:00
Loïc Hoguin
cbd64e617a
Add link to the PROXY protocol to the specs
...
It's very relevant even though I will probably not implement it.
2018-02-09 18:15:37 +01:00
Loïc Hoguin
50fd64ec34
Add an example with a Websocket close frame
...
Thanks benbro!
2018-01-29 13:03:42 +01:00
Loïc Hoguin
d27a373bc3
Fix a small issue in the cowboy_req:parse_cookies manual
...
Thanks benbro!
2018-01-29 12:57:33 +01:00
Loïc Hoguin
8d49ae3dda
Update Cowboy to 2.2.2
2018-01-24 11:50:07 +01:00
Loïc Hoguin
d329ca4b60
Update Cowboy to 2.2.1
2018-01-23 17:01:17 +01:00
Loïc Hoguin
7cb3a9dbda
Add RFC 8297 to the list
2018-01-02 23:09:09 +01:00
Loïc Hoguin
572d38082f
Document the missing inform stream handler command
2017-12-13 12:43:28 +01:00
Loïc Hoguin
388a68fc2e
Update Cowboy to 2.2.0
2017-12-11 14:17:38 +01:00
Loïc Hoguin
364a3527d4
Document trailers in the guide
2017-12-11 12:43:14 +01:00
Loïc Hoguin
6d65cd0d38
Small documentation tweaks
2017-12-11 11:56:14 +01:00
Loïc Hoguin
4c22bdbcb7
Document 2.2 changes and the new stream_trailers function
2017-12-11 11:00:47 +01:00
Loïc Hoguin
17719a136d
Add the few remaining tests to the rfc7231 test suite
2017-12-08 20:38:31 +01:00
Loïc Hoguin
b000d53855
Add more rfc7231 tests and a new max_skip_body_length option
...
The option controls how much body we accept to skip for HTTP/1.1
connections when the user code did not consume the body fully.
It defaults to 1MB.
2017-12-07 22:33:52 +01:00
Loïc Hoguin
32d9d494c7
Add a changelog for cowboy_rest
2017-11-09 13:23:31 +00:00
Loïc Hoguin
f200a6febd
Fix the introduction version for the new 2.1 functions
2017-11-09 13:21:29 +00:00
Loïc Hoguin
44d96ed9be
Add missing changes for 2.1 release
2017-11-09 12:05:22 +00:00
Loïc Hoguin
1e88324864
Update Cowboy to 2.1.0
...
Also add OTP-20.1.4 to CI.
2017-11-08 14:05:30 +00:00
Loïc Hoguin
836342abb8
Add {switch_handler, Module} return value to cowboy_rest
...
Also {switch_handler, Module, Opts}.
Allows switching to a different handler type. This is
particularly useful for processing most of the request
with cowboy_rest and then streaming the response body
using cowboy_loop.
2017-11-01 16:27:26 +00:00
Loïc Hoguin
f3d6b05b86
Add cowboy_req:inform/2,3
...
User code can now send as many 1xx responses as necessary.
2017-10-29 21:03:04 +00:00
Loïc Hoguin
ef58e15547
Introduce cowboy_req:sock/1 and cowboy_req:cert/1
...
To obtain the local socket ip/port and the client TLS
certificate, respectively.
2017-10-25 21:03:26 +01:00
Luke Bakken
4090adaecc
Add migration note concerning multiple headers
2017-10-23 14:59:45 +01:00
Loïc Hoguin
4bebe39975
Ensure stream terminate is called when switching protocols
2017-10-22 14:53:04 +01:00
Loïc Hoguin
b9526a1745
Make the getting started use 2.0.0
2017-10-20 13:00:17 +01:00
Loïc Hoguin
f104da9322
Small guide fixes
2017-10-13 23:20:49 +02:00
Loïc Hoguin
d3f15cfd8b
Make a few link use https
2017-10-03 18:05:23 +02:00
Loïc Hoguin
b2bd9ccfb5
Document cow_ws:frame in Cowboy for now
2017-10-02 18:06:06 +02:00
Loïc Hoguin
292e732abf
Fix the documentation for the command flow
2017-10-02 10:46:45 +02:00
Loïc Hoguin
bec019dce5
Clarify a multipart example
2017-09-27 18:54:51 +02:00
Loïc Hoguin
6b2354a3bc
Add two new RFCs, remove one obsolete
2017-09-15 09:42:49 +02:00
Loïc Hoguin
15ceaf1edf
Update naming in REST flowcharts
2017-09-05 17:19:15 +02:00
Loïc Hoguin
9f5a1803da
Add tests for direct Req access
2017-09-05 15:28:11 +02:00
Loïc Hoguin
2376983295
Remove transfer-encoding parsing from cowboy_req
...
The header never reaches this point.
2017-09-05 13:25:06 +02:00
Loïc Hoguin
4fd6e2f7cd
Accept sendfile tuple with 0 length in cowboy_req
...
This will result in no data being sent. It's simply easier to
do this than to have to handle 0 size cases in user code.
2017-09-04 20:48:07 +02:00
Loïc Hoguin
58e9e76814
Fix more documentation todos
...
I have decided not to include a manual page for
cowboy_stream_h at this point because it clashes
with the cowboy_stream manual page. This decision
will be revisited in the future.
2017-09-04 14:33:44 +02:00
Loïc Hoguin
9860eb88c1
Small tweak to the guide
2017-07-24 11:55:12 +02:00
Loïc Hoguin
95da4f8f18
Write an initial draft of the streams chapter
2017-07-23 18:54:05 +02:00
Loïc Hoguin
53a24b990e
Remove yet another outdated todo
2017-07-23 18:53:48 +02:00
Loïc Hoguin
d4fb6571b3
Update the constraints chapter
2017-07-23 15:30:32 +02:00
Loïc Hoguin
0556fb027c
Update the flowchart chapter
2017-07-23 09:48:25 +02:00
Loïc Hoguin
5bb2003afc
Add a related RFC for Websocket
...
This is important because it clarifies that sec-websocket-protocol
is case sensitive when matching. Only the registry is case
insensitive.
2017-07-20 18:30:17 +02:00
Loïc Hoguin
3099fc1d9f
Remove cowboy_sub_protocol from the documentation
...
This will be reintroduced in a future release once the
interface stabilizes. For the time being it will be an
internal module only.
2017-07-20 18:28:06 +02:00