merge and remove useless comments
This commit is contained in:
		| @@ -560,7 +560,6 @@ namespace ix | ||||
|                  | ||||
|                 bool remote = true; | ||||
|  | ||||
|                 //std::cout << this << " CLOSE FROM REMOTE" << code << " / " << reason << std::endl; | ||||
|                 internalClose(code, reason, _rxbuf.size(), remote); | ||||
|             } | ||||
|             else | ||||
| @@ -877,7 +876,7 @@ namespace ix | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     void WebSocketTransport::close(uint16_t code, const std::string& reason, size_t closeWireSize) | ||||
|     void WebSocketTransport::close(uint16_t code, const std::string& reason, size_t closeWireSize, bool remote) | ||||
|     { | ||||
|         _requestInitCancellation = true; | ||||
|  | ||||
|   | ||||
| @@ -87,7 +87,8 @@ namespace ix | ||||
|  | ||||
|         void close(uint16_t code = 1000, | ||||
|                    const std::string& reason = "Normal closure", | ||||
|                    size_t closeWireSize = 0); | ||||
|                    size_t closeWireSize = 0, | ||||
|                    bool remote = false); | ||||
|  | ||||
|         ReadyStateValues getReadyState() const; | ||||
|         void setReadyState(ReadyStateValues readyStateValue); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user