This commit is contained in:
redkale
2024-09-13 08:39:37 +08:00
parent c0ea28cf9c
commit 0c1f605dbb
2 changed files with 3 additions and 3 deletions

View File

@@ -55,8 +55,8 @@ public class HttpContext extends Context {
public HttpContext(HttpContextConfig config) {
super(config);
this.lazyHeader = true || config.lazyHeader;
this.sameHeader = true || config.sameHeader;
this.lazyHeader = config.lazyHeader;
this.sameHeader = config.sameHeader;
this.remoteAddrHeader = config.remoteAddrHeader;
this.remoteAddrHeaders = config.remoteAddrHeaders;
this.localHeader = config.localHeader;

View File

@@ -155,7 +155,7 @@ public abstract class AbstractDataSqlSource extends AbstractDataSource
this.autoDDL = "true".equals(readConfProps.getProperty(DATA_SOURCE_TABLE_AUTODDL, "false"));
this.cacheForbidden = "NONE".equalsIgnoreCase(readConfProps.getProperty(DATA_SOURCE_CACHEMODE));
this.clientNonBlocking = true || "true".equalsIgnoreCase(readConfProps.getProperty(DATA_SOURCE_NON_BLOCKING, "false"));
this.clientNonBlocking = "true".equalsIgnoreCase(readConfProps.getProperty(DATA_SOURCE_NON_BLOCKING, "false"));
this.slowmsWarn = Integer.parseInt(
readConfProps.getProperty(DATA_SOURCE_SLOWMS_WARN, "2000").trim());
this.slowmsError = Integer.parseInt(