修复2019.6.20改动时remoteAddrHeader带来的bug
This commit is contained in:
@@ -32,6 +32,7 @@ public class HttpContext extends Context {
|
|||||||
|
|
||||||
public HttpContext(HttpContextConfig config) {
|
public HttpContext(HttpContextConfig config) {
|
||||||
super(config);
|
super(config);
|
||||||
|
this.remoteAddrHeader = config.remoteAddrHeader;
|
||||||
random.setSeed(Math.abs(System.nanoTime()));
|
random.setSeed(Math.abs(System.nanoTime()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user