File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
include/bitcoin/node/channels Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ class BCN_API channel_ws
8383protected:
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
You can’t perform that action at this time.
0 commit comments