修正拦截策略allow http2开关
This commit is contained in:
@@ -719,14 +719,6 @@ public class CheckIpFormatThread implements Callable<String>{
|
|||||||
map.put("mirror_client", mirrorClient);
|
map.put("mirror_client", mirrorClient);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(mirrorClient==0) {
|
|
||||||
int minSort=0,maxSort=0;
|
|
||||||
if(StringUtils.isBlank(min)) {
|
|
||||||
min="ssl3";
|
|
||||||
}
|
|
||||||
if(StringUtils.isBlank(max)) {
|
|
||||||
max="tls13";
|
|
||||||
}
|
|
||||||
if(allowHttp2==null) {
|
if(allowHttp2==null) {
|
||||||
allowHttp2=1;
|
allowHttp2=1;
|
||||||
map.put("allow_http2", allowHttp2);
|
map.put("allow_http2", allowHttp2);
|
||||||
@@ -738,6 +730,14 @@ public class CheckIpFormatThread implements Callable<String>{
|
|||||||
map.put("allow_http2", allowHttp2);
|
map.put("allow_http2", allowHttp2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(mirrorClient==0) {
|
||||||
|
int minSort=0,maxSort=0;
|
||||||
|
if(StringUtils.isBlank(min)) {
|
||||||
|
min="ssl3";
|
||||||
|
}
|
||||||
|
if(StringUtils.isBlank(max)) {
|
||||||
|
max="tls13";
|
||||||
|
}
|
||||||
for(SysDataDictionaryItem sslversion: sslversions) {
|
for(SysDataDictionaryItem sslversion: sslversions) {
|
||||||
if(sslversion.getItemCode().equals(min)) {
|
if(sslversion.getItemCode().equals(min)) {
|
||||||
minSort=sslversion.getItemSort();
|
minSort=sslversion.getItemSort();
|
||||||
|
|||||||
@@ -869,6 +869,7 @@ legend{padding:.5em;border:0;width:auto;font-family: "Open Sans", sans-serif;col
|
|||||||
<div for="max"></div>
|
<div for="max"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div calss="row">
|
<div calss="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@@ -885,7 +886,6 @@ legend{padding:.5em;border:0;width:auto;font-family: "Open Sans", sans-serif;col
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<br class="monitAction hidden">
|
<br class="monitAction hidden">
|
||||||
<fieldset class="monitAction hidden">
|
<fieldset class="monitAction hidden">
|
||||||
|
|||||||
Reference in New Issue
Block a user