commit | 402d62135465bcada3dfe36bb84b4a2eb8803c8c | [log] [tgz] |
---|---|---|
author | Matt Menke <mmenke@chromium.org> | Thu Mar 04 16:56:22 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 04 16:56:22 2021 |
tree | f84694be9f34f66379b70dcd1f3d175bfb2863a1 | |
parent | 7a041d721463af8b6b6f3dd2e5327dc1cebb0165 [diff] |
Randomize local ports of TCP client sockets on Windows. Use SO_RANDOMIZE_PORT on Windows. Linux 5.12 and later automatically randomize ports, so no changes needed there. Using SO_RANDOMPORT on Apple platforms causes a couple layout tests to fail, so not doing that for now. This does not affect ephemeral ports assigned to connections accepted by listening sockets. Bug: 1169744 Change-Id: Ic23c8a601e35ed092418bc33b92fbd988c884000 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2727579 Reviewed-by: Eric Orth <ericorth@chromium.org> Commit-Queue: Matt Menke <mmenke@chromium.org> Cr-Commit-Position: refs/heads/master@{#859806}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.