InetAddressFactoryTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Run perf with loopback

  1. … 14 more files in changeset.
Revert "Merge pull request #7838 from gradle/eskatos/messaging/bind-loopback-if-available"

Listening to the loopback device seems to cause some connection issues

to the daemon from IDEA. Reverting the change for now.

This reverts commit 9a940b21ee06ed0b5c83b7d88f7d191a0d7a590e, reversing

changes made to 18b1f6e10f32f623986868bb39e083b49467b16e.

  1. … 6 more files in changeset.
Prefer loopback bind address if available for IPC

Keep file lock communicator bound to wildcard address

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 6 more files in changeset.
Prefer loopback bind address if available for IPC

Keep file lock communicator bound to wildcard address

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 6 more files in changeset.
Prefer loopback bind address if available for IPC

Keep file lock communicator bound to wildcard address

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 6 more files in changeset.
Refactor InetAddressFactory

The main reason for this refactoring was to make

InetAddressFactory easier to understand. I also extracted

the responsibility of obtaining the InetAddresses from

the NetworkInterfaces in a different class. The only

responsibility of InetAddressFactory is now to provide

enough data for two processes to communicate via

IP addresses. As a side effect InetAddressFactory is now testable.

The allow remote flag is still useful, therefore it has not been removed.

Setting it allows connections from a remote machine.

#644

+review REVIEW-6069

  1. … 6 more files in changeset.
Moved `o.g.messaging.*` to `o.g.internal.*`.

    • -0
    • +55
    ./InetAddressFactoryTest.groovy
  1. … 295 more files in changeset.