commit | 6bbb9ba38c0cba2e8dcd2b4d0e7c58f0cd72bd51 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Mon Oct 04 21:56:52 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 05 19:49:35 2021 +0000 |
tree | 7c7aa5670c831b0735aa44cf01caba1c98f5de3e | |
parent | e41081a46f944a15f0875b59ef6dc897d01fefb3 [diff] |
pw_transfer: Restart pending transfers on initial packet The pw_transfer C++ service does not currently support timeouts. Due to this, if the transfer client exits unexpectedly or its final chunk is lost, the service may keep the transfer pending. Update the transfer service to cancel and restart a transfer when an initial chunk arrives for a pending transfer. Change-Id: I05d550dfec4cb254273917a78469e48a642dfa8a Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/63860 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
See our website: http://pigweed.dev