Copy the resolver configuration when cloning Bootstrap
Motivation: Bootstrap.clone() does not copy the resolver configuration. Modifications: Copy the resolver configuration when cloning. Result: Bug fixed
This commit is contained in:
parent
7b39968f57
commit
9acf4a800a
@ -58,6 +58,7 @@ public class Bootstrap extends AbstractBootstrap<Bootstrap, Channel> {
|
|||||||
|
|
||||||
private Bootstrap(Bootstrap bootstrap) {
|
private Bootstrap(Bootstrap bootstrap) {
|
||||||
super(bootstrap);
|
super(bootstrap);
|
||||||
|
resolver = bootstrap.resolver;
|
||||||
remoteAddress = bootstrap.remoteAddress;
|
remoteAddress = bootstrap.remoteAddress;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user