修复2019.6.20改动时remoteAddrHeader带来的bug

This commit is contained in:
Redkale
2019-12-07 21:02:13 +08:00
parent 3660a2a4e5
commit 45802d2403

View File

@@ -32,6 +32,7 @@ public class HttpContext extends Context {
public HttpContext(HttpContextConfig config) {
super(config);
this.remoteAddrHeader = config.remoteAddrHeader;
random.setSeed(Math.abs(System.nanoTime()));
}