Skip to content
Snippets Groups Projects
Commit 0f198ea3 authored by Tamir Duberstein's avatar Tamir Duberstein Committed by CQ bot account: commit-bot@chromium.org
Browse files

[netstack] always close the zx_socket

Rationalize expected errors:

- loop{Control,Read} don't need to check for ZX_ERR_BAD_HANDLE
- zxwait.Wait never returns ZX_ERR_PEER_CLOSED
- zx_socket_{read,write} never return ZX_ERR_CANCELED

NET-2068 #done

Test: fx run-image-test netstack_loopback_test \
    --gtest_filter=NetStreamTest.BlockingAcceptWriteMultiple \
    --gtest_repeat=1000
Change-Id: I03fc862152cac22804d2c53422f75e1f5afd046a
parent 930a12ab
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment