1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00
trezor-firmware/python/.changelog.d
matejcik 0e650b1a5b fix(python): do not set socket to nonblocking for wait_until_ready
There's two udp calls in `UdpTransport._ping()`:
- socket.sendall(b"PINGPING") -> this will be instanteous, AND it will
raise if the receiving side is not listening.
- socket.recv() -> this will wait for SOCKET_TIMEOUT seconds, but only
in case the sendall() succeeded. This means that receiving side exists
and we are now waiting until it's awake enough to respond.

In conclusion, we avoid hammering emulator with PINGPINGs with a timeout
so short we don't see an answer. This should avoid the problem
occasionally seen in CI and described in #1668
2021-08-04 10:58:59 +02:00
..
.gitignore docs(python): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
379.changed docs(python): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
379.deprecated.1 docs(python): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
379.deprecated.2 docs(python): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
379.deprecated.3 docs(python): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
810.removed docs(python): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
1227.added docs(python): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
1258.added feat(python/trezorctl): improving and refactoring firmware CLI commands 2021-07-07 10:33:03 +02:00
1258.changed feat(python/trezorctl): improving and refactoring firmware CLI commands 2021-07-07 10:33:03 +02:00
1266.changed docs(python): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
1531.removed docs(python): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
1541.changed refactor(python): rework trezorlib protobuf codec 2021-06-08 09:55:19 +02:00
1668.changed fix(python): do not set socket to nonblocking for wait_until_ready 2021-08-04 10:58:59 +02:00
1671.added feat(python/debuglink): auto-page on pageable screens 2021-06-22 11:25:12 +02:00
1671.incompatible feat(python): pass whole ButtonRequest to button_request UI handler 2021-06-22 11:25:12 +02:00