Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] hw_drivers: Deadlock on double Ingenico terminal connection
This can happen if the terminal had a power reset, or a network cable was unplugged temporarily on the terminal or IoT box. It will try to reconnect, but the box wasn't aware the first connection was gone and would ignore the second connection. So the terminal was waiting for a response on the second connection and the IoT box was waiting for data on the first connection resulting in a deadlock. This solution closes the first connection and replaces it with the second. opw-2432864 closes #65456 Related: odoo/enterprise#16099 Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
- Loading branch information
Showing
1 changed file
with
82 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters