@@ -318,7 +318,7 @@ class WsHandler : public ProtocolHandler {
318318 WsHandler (InspectorSocket* inspector, TcpHolder::Pointer tcp)
319319 : ProtocolHandler(inspector, std::move(tcp)),
320320 OnCloseSent (&WsHandler::WaitForCloseReply),
321- OnCloseRecieved (&WsHandler::CloseFrameReceived),
321+ OnCloseReceived (&WsHandler::CloseFrameReceived),
322322 dispose_(false ) { }
323323
324324 void AcceptUpgrade (const std::string& accept_key) override { }
@@ -369,7 +369,7 @@ class WsHandler : public ProtocolHandler {
369369 }
370370
371371 void WaitForCloseReply () {
372- OnCloseRecieved = &WsHandler::OnEof;
372+ OnCloseReceived = &WsHandler::OnEof;
373373 }
374374
375375 void SendClose () {
@@ -396,7 +396,7 @@ class WsHandler : public ProtocolHandler {
396396 OnEof ();
397397 bytes_consumed = 0 ;
398398 } else if (r == FRAME_CLOSE) {
399- (this ->*OnCloseRecieved )();
399+ (this ->*OnCloseReceived )();
400400 bytes_consumed = 0 ;
401401 } else if (r == FRAME_OK) {
402402 delegate ()->OnWsFrame (output);
@@ -406,7 +406,7 @@ class WsHandler : public ProtocolHandler {
406406
407407
408408 Callback OnCloseSent;
409- Callback OnCloseRecieved ;
409+ Callback OnCloseReceived ;
410410 bool dispose_;
411411};
412412
0 commit comments