a273705b8d
* 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 |
||
---|---|---|
.. | ||
src | ||
pom.xml |