diff options
author | Loïc Hoguin <[email protected]> | 2019-10-06 10:18:16 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-06 10:18:16 +0200 |
commit | 62836cdddc5430d570297469ae65670b82e32730 (patch) | |
tree | e76ce7860b48fefc0034611d9250a54ec7c76507 /doc/src/manual/cowboy_req.match_cookies.asciidoc | |
parent | 3e23aff1d1b6e4e2f736edd7a8f5465b02c4c6db (diff) | |
download | cowboy-62836cdddc5430d570297469ae65670b82e32730.tar.gz cowboy-62836cdddc5430d570297469ae65670b82e32730.tar.bz2 cowboy-62836cdddc5430d570297469ae65670b82e32730.zip |
Document how to recover from cookie parsing errors
Diffstat (limited to 'doc/src/manual/cowboy_req.match_cookies.asciidoc')
-rw-r--r-- | doc/src/manual/cowboy_req.match_cookies.asciidoc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/src/manual/cowboy_req.match_cookies.asciidoc b/doc/src/manual/cowboy_req.match_cookies.asciidoc index 14f88d2..d56b031 100644 --- a/doc/src/manual/cowboy_req.match_cookies.asciidoc +++ b/doc/src/manual/cowboy_req.match_cookies.asciidoc @@ -31,6 +31,10 @@ be converted through the use of constraints, making this function able to extract, validate and convert values all in one step. +This function will crash on invalid cookie data. How to +handle this is explained in details in the manual page for +link:man:cowboy_req:parse_cookies(3)[cowboy_req:parse_cookies(3)]. + == Arguments Fields:: @@ -85,4 +89,5 @@ An exception is triggered when the match fails. == See also link:man:cowboy_req(3)[cowboy_req(3)], +link:man:cowboy_req:filter_cookies(3)[cowboy_req:filter_cookies(3)], link:man:cowboy_req:parse_cookies(3)[cowboy_req:parse_cookies(3)] |