diff options
author | Loïc Hoguin <[email protected]> | 2013-08-29 17:14:54 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-08-29 17:14:54 +0200 |
commit | 1408236728fa0e2a4c54c5dd11be02363078bf50 (patch) | |
tree | 503cf87c09f73fd8724989be0b607f636f61085a /guide/websocket.md | |
parent | 3a048dc90ba0e96a0f8fc777cb94f0b68f622bce (diff) | |
download | gun-1408236728fa0e2a4c54c5dd11be02363078bf50.tar.gz gun-1408236728fa0e2a4c54c5dd11be02363078bf50.tar.bz2 gun-1408236728fa0e2a4c54c5dd11be02363078bf50.zip |
Also add IsFin to Websocket upgrade error
Diffstat (limited to 'guide/websocket.md')
-rw-r--r-- | guide/websocket.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guide/websocket.md b/guide/websocket.md index bfe5f04..26b73c2 100644 --- a/guide/websocket.md +++ b/guide/websocket.md @@ -32,7 +32,7 @@ message. receive {gun_ws_upgrade, Pid, ok} -> upgrade_success(Pid); - {gun_ws_upgrade, Pid, error, Status, Headers} -> + {gun_ws_upgrade, Pid, error, IsFin, Status, Headers} -> exit({ws_upgrade_failed, Status, Headers}); %% More clauses here as needed. after 1000 -> |