net.box: fix exception thrown on time-out error
netbox_perform_request throws a general ClientError exception on time-out error: it should throw the more suitable and POSIX-compliant TimedOut exception which sets errno to ETIMEDOUT. Closes #6144 NO_DOC=There is no mention of what kind of error is returned on timeout in the net.box documentation.
Showing
- changelogs/unreleased/gh-6144-incorrect-timeout-error.md 4 additions, 0 deletionschangelogs/unreleased/gh-6144-incorrect-timeout-error.md
- src/box/lua/net_box.c 3 additions, 3 deletionssrc/box/lua/net_box.c
- test/box/net.box_count_inconsistent_gh-3262.result 22 additions, 22 deletionstest/box/net.box_count_inconsistent_gh-3262.result
- test/box/net.box_discard_gh-3107.result 1 addition, 1 deletiontest/box/net.box_discard_gh-3107.result
- test/box/net.box_fiber-async_gh-3107.result 2 additions, 2 deletionstest/box/net.box_fiber-async_gh-3107.result
- test/box/net.box_methods_gh-3107.result 1 addition, 1 deletiontest/box/net.box_methods_gh-3107.result
- test/box/net.box_raw_response_gh-3107.result 1 addition, 1 deletiontest/box/net.box_raw_response_gh-3107.result
- test/box/net.box_schema_change_gh-3107.result 1 addition, 1 deletiontest/box/net.box_schema_change_gh-3107.result
- test/box/net.box_timeout-gh-3107.result 1 addition, 1 deletiontest/box/net.box_timeout-gh-3107.result
Please register or sign in to comment