commit | 59aca2c7e909b4f61b2e995d434563c9ea30b486 | [log] [tgz] |
---|---|---|
author | Keir Mierle <keir@google.com> | Fri Mar 11 15:48:03 2022 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 14 17:43:13 2022 +0000 |
tree | f06468258e81fe40100a7efa158ab0635667a9cc | |
parent | 0aa0befedb2c684bab398f756a3ba92c1f90d270 [diff] |
pw_hdlc: Don't reuse socket when reconnecting macOS doesn't support using the same socket for multiple connection attempts. As a result, transfer integration tests on macOS failed with a "OSError: Invalid argument" exception when re-trying a failed local connection. This changes the HDLC RPC helper to re-create a new socket for every connection attempt. Change-Id: Iefc8734a3028c7e4d18527646c306c411c74336f Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/87980 Pigweed-Auto-Submit: Keir Mierle <keir@google.com> Reviewed-by: Erik Gilling <konkers@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/