[roll] Roll third_party/pigweed pw_transfer: Improve Python stream reopening and closing

This makes several changes to the way RPC streams are handled in the
Python transfer client:

- Limits RPC stream reopen attempts to a maximum number, after which
  ongoing transfers should fail.
- Refactors stream operations into a wrapper class to minimize duplicate
  code between read/write transfers.
- Improve logging around stream reopening.
- Automatically close RPC streams when the last transfer running on them
  completes.

Tested: Verified successful operation of multiple back-to-back transfers
on real hardware.

Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/184931
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Original-Revision: baed4c896be04221216ea205cc274e45ef0b451d
GitOrigin-RevId: df5fcc294b3a29157134b5ecd730f1c7a3105c71
Change-Id: Ide5d8184be5a54472ffb1fb9f94cc1b7fbab9a3e
1 file changed
tree: 6924da951be1d2e37299da9ca5195257dfc1f48f
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.