diff options
author | Unix1 <[email protected]> | 2014-06-08 16:16:44 -0700 |
---|---|---|
committer | Unix1 <[email protected]> | 2014-06-08 16:16:44 -0700 |
commit | c5a42cc4a32f38a195f9c15e4456a48eaefdfa82 (patch) | |
tree | 4e1c5a6ac72dfea014e12efffd92258d3423ddeb /src | |
parent | 85349f202d152e6d9d4876bb739bbc71b62b7366 (diff) | |
download | gun-c5a42cc4a32f38a195f9c15e4456a48eaefdfa82.tar.gz gun-c5a42cc4a32f38a195f9c15e4456a48eaefdfa82.tar.bz2 gun-c5a42cc4a32f38a195f9c15e4456a48eaefdfa82.zip |
continue after unexpected message for extend/gun#19
Diffstat (limited to 'src')
-rw-r--r-- | src/gun.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gun.erl b/src/gun.erl index 7cdbfb5..71af26e 100644 --- a/src/gun.erl +++ b/src/gun.erl @@ -535,7 +535,8 @@ loop(State=#state{parent=Parent, owner=Owner, host=Host, "before the gun:ws_send/1 function can be used."}}, loop(State); Any -> - error_logger:error_msg("Unexpected message: ~w~n", [Any]) + error_logger:error_msg("Unexpected message: ~w~n", [Any]), + loop(State) end. ws_loop(State=#state{parent=Parent, owner=Owner, retry=Retry, socket=Socket, |