diff options
author | Carl Lerche <me@carllerche.com> | 2020-07-12 19:25:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-12 19:25:58 -0700 |
commit | 98e78314794607d0b402d5e45c66e3b8e38b819c (patch) | |
tree | bbfd7d0d84cdd4fc58fe7adbdf5758b1c4aaf8e6 /examples | |
parent | 8411a6945f2d4711a9422dfd4d3362e08b6e8f99 (diff) |
net: fix OwnedWriteHalf behavior on drop (#2597)
Previously, dropping the Write handle would issue a `shutdown(Both)`. However,
shutting down the read half is not portable and not the correct action to take.
This changes the behavior of OwnedWriteHalf to only perform a `shutdown(Write)`
on drop.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions