Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,15 @@ interface DubboProperty {
*/
String DUBBO_PREFERRED_NETWORK_INTERFACE = "dubbo.network.interface.preferred";

/**
* The property name for {@link NetworkInterface#isPointToPoint() return whether a network interface is a point
* to point interface} that the Dubbo application will determine whether to enable the point-to-point network
* interface
*
* @since 3.3
*/
String DUBBO_NETWORK_INTERFACE_POINT_TO_POINT_ENABLE = "dubbo.network.interface.point-to-point.enable";

String DUBBO_CLASS_DESERIALIZE_ALLOWED_LIST = "dubbo.security.serialize.allowedClassList";
String DUBBO_CLASS_DESERIALIZE_BLOCKED_LIST = "dubbo.security.serialize.blockedClassList";
String DUBBO_CLASS_DESERIALIZE_OPEN_CHECK = "dubbo.security.serialize.openCheckClass";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,11 @@ private static boolean ignoreNetworkInterface(NetworkInterface networkInterface)
|| !networkInterface.isUp()) {
return true;
}
if (!Boolean.parseBoolean(SystemPropertyConfigUtils.getSystemProperty(
CommonConstants.DubboProperty.DUBBO_NETWORK_INTERFACE_POINT_TO_POINT_ENABLE, "true"))
&& networkInterface.isPointToPoint()) {
return true;
}
String ignoredInterfaces = SystemPropertyConfigUtils.getSystemProperty(
CommonConstants.DubboProperty.DUBBO_NETWORK_IGNORED_INTERFACE);
String networkInterfaceDisplayName;
Expand Down
Loading