commit | 4c467d30d7ef7c7a00917b5534390483a2f96a05 | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@google.com> | Fri Sep 24 12:40:02 2021 -0700 |
committer | Ewout van Bekkum <ewout@google.com> | Fri Sep 24 23:50:15 2021 +0000 |
tree | 2bb44b09c5bed68d90fcf97e1cb6b3442096623e | |
parent | 0128d2519e656028db70668946ea94b92196e4f2 [diff] |
pw_transfer: Python client and C++ service fixes - Client: respect the pending_bytes field from the transfer parameters when sending a chunk. - Client: Notify the server if a timeout occurred so that it can cancel the transfer. - Client: Don't invoke the end_transfer callback when killing all transfers due to an error to avoid modifying the transfer dictionary while iterating through it. - Client: Accept string as well as bytes data for write transfers. - Server: Terminate a transfer if the client sends more data than requested. - Server: Log and clean up if write transfer parameters fail to send. Change-Id: I89144c5f7e64d8b8e9ed4bb2718d8f73ff31a2e5 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/62143 Commit-Queue: Alexei Frolov <frolv@google.com> Reviewed-by: Keir Mierle <keir@google.com>
See our website: http://pigweed.dev