commit | 5ef0e71ecd405bea41f7173df9bc7dc69186dc42 | [log] [tgz] |
---|---|---|
author | Mithun Iyer <iyerm@google.com> | Thu Jul 09 01:52:22 2020 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Thu Jul 09 01:52:22 2020 +0000 |
tree | 43405028709ca0d695046aa5436e6ac78a216b08 | |
parent | 06ae3ba441fb1c67eec415c397d759f36c616369 [diff] |
[fdio][bsdsocket_test] Fix stream socket reads. Enable the application to read from a stream socket when it is still in connecting state. TCP applications can choose to initiate a non-blocking connect and later block on a read, when the connection state is still SYN-SENT. RFC793, section 3.9, p58 Bug: 38862 Test: fx test -od netstack-bsdsocket-c-api-test -- --gtest_filter=NetStreamTest.ReadBeforeConnect Change-Id: Ica6f3e4c8ae8a89d06718cf8aeca2c6d63d836fe Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/404711 Commit-Queue: Mithun Iyer <iyerm@google.com> Reviewed-by: Tamir Duberstein <tamird@google.com> Testability-Review: Tamir Duberstein <tamird@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See fuchsia.dev.