aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-08-29 17:14:54 +0200
committerLoïc Hoguin <[email protected]>2013-08-29 17:14:54 +0200
commit1408236728fa0e2a4c54c5dd11be02363078bf50 (patch)
tree503cf87c09f73fd8724989be0b607f636f61085a
parent3a048dc90ba0e96a0f8fc777cb94f0b68f622bce (diff)
downloadgun-1408236728fa0e2a4c54c5dd11be02363078bf50.tar.gz
gun-1408236728fa0e2a4c54c5dd11be02363078bf50.tar.bz2
gun-1408236728fa0e2a4c54c5dd11be02363078bf50.zip
Also add IsFin to Websocket upgrade error
-rw-r--r--guide/websocket.md2
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 ->