diff options
author | Loïc Hoguin <[email protected]> | 2013-05-31 18:59:52 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-05-31 18:59:52 +0200 |
commit | c1a1fd125d8b0559f182bd8fc10de18f7259047d (patch) | |
tree | 2cd2ad94eba0aff9541a139e62944a54d976da03 /src/cowboy_router.erl | |
parent | 4fde6cba94f4ae65b6434aa722c08c60066f67d7 (diff) | |
download | cowboy-c1a1fd125d8b0559f182bd8fc10de18f7259047d.tar.gz cowboy-c1a1fd125d8b0559f182bd8fc10de18f7259047d.tar.bz2 cowboy-c1a1fd125d8b0559f182bd8fc10de18f7259047d.zip |
Don't crash on empty Cookie header
It's not allowed, however a heavily deployed client (Flash player)
can send such an empty header, therefore we make a special condition
for it and return an empty list when it happens.
Diffstat (limited to 'src/cowboy_router.erl')
0 files changed, 0 insertions, 0 deletions