forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow socket creation to be delegated from sandbox target to broker.
This is needed to allow connections to loopback from within an App Container on Windows. See https://docs.microsoft.com/en-us/windows/iot-core/develop-your-app/loopback Only overlapped sockets are supported by the broker, as these are the only ones used by Chromium. Add tests to verify this works for both UDP and TCP sockets. Since this code can't depend on net/ a very simple UDP server is used for testing. BUG=841001 Change-Id: I794bdadb779b456c5dba97d01d3e646b793ad265 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3069722 Reviewed-by: Alex Gough <ajgo@chromium.org> Reviewed-by: Daniel Rubery <drubery@chromium.org> Commit-Queue: Will Harris <wfh@chromium.org> Cr-Commit-Position: refs/heads/master@{#909354}
- Loading branch information
1 parent
2d12b87
commit 0394e04
Showing
16 changed files
with
784 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.