This commit is contained in:
redkale
2024-09-13 08:36:29 +08:00
parent 28aa2285f5
commit c0ea28cf9c
2 changed files with 3 additions and 3 deletions

View File

@@ -55,8 +55,8 @@ public class HttpContext extends Context {
public HttpContext(HttpContextConfig config) { public HttpContext(HttpContextConfig config) {
super(config); super(config);
this.lazyHeader = config.lazyHeader; this.lazyHeader = true || config.lazyHeader;
this.sameHeader = config.sameHeader; this.sameHeader = true || config.sameHeader;
this.remoteAddrHeader = config.remoteAddrHeader; this.remoteAddrHeader = config.remoteAddrHeader;
this.remoteAddrHeaders = config.remoteAddrHeaders; this.remoteAddrHeaders = config.remoteAddrHeaders;
this.localHeader = config.localHeader; 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.autoDDL = "true".equals(readConfProps.getProperty(DATA_SOURCE_TABLE_AUTODDL, "false"));
this.cacheForbidden = "NONE".equalsIgnoreCase(readConfProps.getProperty(DATA_SOURCE_CACHEMODE)); this.cacheForbidden = "NONE".equalsIgnoreCase(readConfProps.getProperty(DATA_SOURCE_CACHEMODE));
this.clientNonBlocking = "true".equalsIgnoreCase(readConfProps.getProperty(DATA_SOURCE_NON_BLOCKING, "false")); this.clientNonBlocking = true || "true".equalsIgnoreCase(readConfProps.getProperty(DATA_SOURCE_NON_BLOCKING, "false"));
this.slowmsWarn = Integer.parseInt( this.slowmsWarn = Integer.parseInt(
readConfProps.getProperty(DATA_SOURCE_SLOWMS_WARN, "2000").trim()); readConfProps.getProperty(DATA_SOURCE_SLOWMS_WARN, "2000").trim());
this.slowmsError = Integer.parseInt( this.slowmsError = Integer.parseInt(