Description
Description
As part of efforts to improve agent registration, it was found that the remote server thread may present an unexpected behavior when handling multiple connections to it:
wazuh/src/os_auth/main-server.c
Lines 843 to 844 in dff1842
Since some delays may arise under heavy load conditions where multiple connections are being opened, the sockets management using the select
function needs to be reviewed.
Tasks
- Analysis of the code and reproduction of the potential bug. (A script simulating the connections might be required to achieve this)
- Improvements proposal.
- Development of the improvements.
- Unit tests update.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Pending final review