d71df901ed9a809083a457f86a1f2d4410030242
- Attempt to send messages directly during the RECEIVE callback to avoid mutex issues, enhancing performance. - Implement size checks for messages to prevent overflow, with logging for oversized messages. - Introduce additional error handling and logging for socket write operations, ensuring robust message delivery and queue management. - Maintain thread safety by validating user data and mutex locking before queuing messages when direct sending fails.
Refactor message sending logic in WebSocket server to improve direct transmission and error handling
Description
No description provided
Languages
JavaScript
75.7%
Vue
19.9%
C++
2.9%
Shell
1.2%
CMake
0.1%