* Replace sync forward request with async request in DistroFilter. issue #10148
* extract method for config default headers
* add env switch for async distro forward.
* Fixed code review problems:
1. Move async forward switch from sys module to naming module.
2. use nacos code style to format code.
* Fixed nacos code checkstyle:
1. one import per Class
2. add javadoc
* In order to avoid additional overhead, move switch from GlobalConfig to ClientConfig and cache the env switch.
* Move switch from ClientConfig to DistroConfig.
* Removed unused import.
* Add test for async forward for DistroFilter
* Add license
* rename test method name
* Should enable async forward
* fixed test
* set async forward request switch to true in test
* fixed test: create and set property with MockEnvironment
* fixed check style
* move MockEnvironment init to BeforeClass
* add setter for asyncForwardRequest switch
* add unit tests for DiskUtils.
add unit tests for InetUtils.
add unit tests for MethodUtil.
* add unit tests for DiskUtils.
add unit tests for InetUtils.
add unit tests for MethodUtil.
* Remove double write switch and upgrade from 1.X switch.
* Remove IFilterConfig.java
* Remove some deprecated constants and methods
* Remove some deprecated classes in nacos-core
* Remove some deprecated config
* Remove some deprecated codes in naming module
* Remove some deprecated codes in sys module
* Fix unit test
* Try to make UdpConnectorTest pass more easier.
* [ISSUE #8515] auto refresh ip address
Close#8515
* [ISSUE #8515] add the unit test
Close#8515
* [ISSUE #8515] clean system variable after unit test done
Close#8515
* [ISSUE #8515] add tearDown method for the unit test
- reformat by nacos-style
* [ISSUE #8515] fix ci error
* [ISSUE #8515] fix ci error
* [ISSUE #8515] fix ci error
* add volatile modifier to `ServerListManager.serversFromEndpoint`
* optimize `onReceiveChecksums` in race condition
* judge responsible server in same localAddress; add `volatile` modifier for `EnvUtil.localAddress`
* For #7930. Default close support upgrade from 1.X feature(double write and old raft).
* Fix use still use old raft when close upgrade feature.
* UpgradeJudgement subscribe member change event only open upgrade feature.
* rename IPUitl to InternetAddressUtil
* move isDomain to InternetAddressUtil
* [ISSUE #5765] fix localhost not match ip
* fix typo
* delete the verification IP, follow the single responsibility principle
* The IPv6 judgment logic in this method will obtain IP address according to the host. In the container environment, K8S has not allocated IP to this pod, and then the judgment will report an error. After finding this problem, I gave feedback to remove the IPv4 judgment, but this problem still exists in IPv6. Suggested to remove the verification logic can be in other ways to optimize.
* Revert "The IPv6 judgment logic in this method will obtain IP address according to the host. In the container environment, K8S has not allocated IP to this pod, and then the judgment will report an error. After finding this problem, I gave feedback to remove the IPv4 judgment, but this problem still exists in IPv6. Suggested to remove the verification logic can be in other ways to optimize."
This reverts commit a112e52
* Both IPv4 and IPv6 validation rules adopt regular validation. In order to prevent the container from adding domain name rule validation in the case of domain name resolution deployment, the logic of removing Chinese slogan should be added before the rule validation in IPv6.
* Optimize and add licenses according to Ali's protocol
* The isDomain method is changed to validate only rules
* Format to optimize
* client use same executor during different connection.
* metrics count bugfix.
* recommend server check
* remove rsocket ;add client metrics
* add client metrics to get cache value
* rpc tps control basic api submit.
* check style ,pmd fix.