| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e7fc7a4 commit d28ce32
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -318,7 +318,7 @@ class WsHandler : public ProtocolHandler { | |||
| 318 | 318 | WsHandler(InspectorSocket* inspector, TcpHolder::Pointer tcp) | |
| 319 | 319 | : ProtocolHandler(inspector, std::move(tcp)), | |
| 320 | 320 | OnCloseSent(&WsHandler::WaitForCloseReply), | |
| 321 | - OnCloseRecieved(&WsHandler::CloseFrameReceived), | ||
| 321 | + OnCloseReceived(&WsHandler::CloseFrameReceived), | ||
| 322 | 322 | dispose_(false) { } | |
| 323 | 323 | ||
| 324 | 324 | void AcceptUpgrade(const std::string& accept_key) override { } | |
@@ -369,7 +369,7 @@ class WsHandler : public ProtocolHandler { | |||
| 369 | 369 | } | |
| 370 | 370 | ||
| 371 | 371 | void WaitForCloseReply() { | |
| 372 | - OnCloseRecieved = &WsHandler::OnEof; | ||
| 372 | + OnCloseReceived = &WsHandler::OnEof; | ||
| 373 | 373 | } | |
| 374 | 374 | ||
| 375 | 375 | void SendClose() { | |
@@ -396,7 +396,7 @@ class WsHandler : public ProtocolHandler { | |||
| 396 | 396 | OnEof(); | |
| 397 | 397 | bytes_consumed = 0; | |
| 398 | 398 | } else if (r == FRAME_CLOSE) { | |
| 399 | - (this->*OnCloseRecieved)(); | ||
| 399 | + (this->*OnCloseReceived)(); | ||
| 400 | 400 | bytes_consumed = 0; | |
| 401 | 401 | } else if (r == FRAME_OK) { | |
| 402 | 402 | delegate()->OnWsFrame(output); | |
@@ -406,7 +406,7 @@ class WsHandler : public ProtocolHandler { | |||
| 406 | 406 | ||
| 407 | 407 | ||
| 408 | 408 | Callback OnCloseSent; | |
| 409 | - Callback OnCloseRecieved; | ||
| 409 | + Callback OnCloseReceived; | ||
| 410 | 410 | bool dispose_; | |
| 411 | 411 | }; | |
| 412 | 412 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments