Skip to content

Commit 0aa85b5

Browse files
committed
Adapt to node changes in channel_http/ws.
1 parent c028d52 commit 0aa85b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/bitcoin/node/channels/channel_ws.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class BCN_API channel_ws
8383
protected:
8484
/// Dispatch websocket buffer via derived handlers (override to handle).
8585
/// Override to handle dispatch, must invoke read_request() on complete.
86-
inline void dispatch_websocket(const network::http::flat_buffer&,
86+
inline void dispatch_ws(const network::http::flat_buffer&,
8787
size_t) NOEXCEPT override
8888
{
8989
const std::string welcome{ "Websocket libbitcoin/4.0" };
@@ -92,7 +92,7 @@ class BCN_API channel_ws
9292
// handle_send alread stops channel on ec.
9393
// One and only one handler of message must restart read loop.
9494
// In half duplex this happens only after send (ws full duplex).
95-
if (!ec) read_request();
95+
if (!ec) receive();
9696
});
9797
}
9898

0 commit comments

Comments
 (0)