use spdlog for logging in ws + unittest + remove un-needed mutex
This commit is contained in:
		| @@ -159,8 +159,6 @@ namespace ix | ||||
|  | ||||
|     ssize_t Socket::send(char* buffer, size_t length) | ||||
|     { | ||||
|         std::lock_guard<std::mutex> lock(_socketMutex); | ||||
|  | ||||
|         int flags = 0; | ||||
| #ifdef MSG_NOSIGNAL | ||||
|         flags = MSG_NOSIGNAL; | ||||
| @@ -176,8 +174,6 @@ namespace ix | ||||
|  | ||||
|     ssize_t Socket::recv(void* buffer, size_t length) | ||||
|     { | ||||
|         std::lock_guard<std::mutex> lock(_socketMutex); | ||||
|  | ||||
|         int flags = 0; | ||||
| #ifdef MSG_NOSIGNAL | ||||
|         flags = MSG_NOSIGNAL; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user