Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
capmt: fix endless loop
When tvh receives less then 4 bytes from the socket for some reason, it stuck in the endless loop in handle_single() calling: capmt_msg_size() capmt_analyze_cmd() The capmt thread eats 100% CPU and cannot be normally terminated because the capmt_msg_size() was constantly returning 0. The commit fixes the problem.
- Loading branch information