commit | b487c2f4949f8ce0cce256a66879f5a3fc9c4048 | [log] [tgz] |
---|---|---|
author | Michael Brunson <mbrunson@google.com> | Fri Feb 03 23:02:47 2023 +0000 |
committer | releases-try-builder <releases-try-builder@fuchsia-infra.iam.gserviceaccount.com> | Sat Feb 04 00:23:41 2023 +0000 |
tree | d213b82a3ee9c4e911631c1a4af14b120af1f213 | |
parent | 9d04c4241272488e1bbd5b198f245c273361216e [diff] |
[hwinfo] Log request stream handler errors instead of panicking. When clients drop connections to hwinfo without awaiting a response, the server may receive a PEER_CLOSED error. Since this is a Result::Err, this propagates up to an expect() call that causes a panic and crashes the component. Instead of panicking, these errors are logged and the task that services the client is allowed to end. Bug: b/257979013 Bug: 110564 Test: CQ Change-Id: I97f7c1e648f31e8129b44a13fd838c33351ff5ce Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/761963 Reviewed-by: Devon H. O'Dell <dhobsd@google.com> Commit-Queue: Michael Brunson <mbrunson@google.com> (cherry picked from commit 09df80bbf3e9a5f1759cf1e4164e93275f86610e)
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.