Skip to content

Commit

Permalink
Fix logic error in advance_server_flex
Browse files Browse the repository at this point in the history
  • Loading branch information
schorsch1976 authored and madmongo1 committed Aug 28, 2020
1 parent e7c677e commit b07edea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Version XXX:

* Fix logic error in advance_server_flex.
* Fix file open with append_existing flag on posix.
* Websocket SSL `teardown` also tears down underlying TCP.
* Update WebSocket examples to set TLS SNI.
Expand Down
2 changes: 1 addition & 1 deletion example/advanced/server-flex/advanced_server_flex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ class websocket_session
return;

if(ec)
fail(ec, "read");
return fail(ec, "read");

// Echo the message
derived().ws().text(derived().ws().got_text());
Expand Down

0 comments on commit b07edea

Please sign in to comment.