https 、客户端与服务端连接优化

This commit is contained in:
刘河
2019-02-01 02:06:30 +08:00
parent 717028e5f1
commit eccc221e67
32 changed files with 1106 additions and 1140 deletions

View File

@@ -38,13 +38,6 @@
<option value="1">加密</option>
</select>
</div>
<div class="form-group" id="compress">
<label class="control-label">是否TCP复用</label>
<select class="form-control" name="crypt">
<option value="0">不启用</option>
<option value="1">启用</option>
</select>
</div>
</form>
</div>
<div class="tile-footer">

View File

@@ -43,13 +43,6 @@
<option {{if eq true .c.Cnf.Crypt}}selected{{end}} value="1">加密</option>
</select>
</div>
<div class="form-group" id="compress">
<label class="control-label">是否启用TCP复用(所有模式均支持)</label>
<select class="form-control" name="mux">
<option {{if eq false .c.Cnf.Mux}}selected{{end}} value="0">不启用</option>
<option {{if eq true .c.Cnf.Mux}}selected{{end}} value="1">启用</option>
</select>
</div>
</form>
</div>
<div class="tile-footer">

View File

@@ -11,7 +11,6 @@
<th>备注</th>
<th>压缩方式</th>
<th>加密</th>
<th>多路复用</th>
<th>用户名</th>
<th>密码</th>
<th>状态</th>
@@ -126,7 +125,6 @@
{data: "Addr"},
{data: "Addr"},
{data: "Addr"},
{data: "Addr"},
{data: "Remark"},
{data: "Status"},
{data: "IsConnect"},
@@ -193,20 +191,10 @@
render: function (data, type, row, meta) {
return row.Cnf.U
}
},
{
targets: -8,
render: function (data, type, row, meta) {
if (row.Cnf.Mux == "0") {
return "不启用"
} else {
return "启用"
}
}
}
,
{
targets: -9,
targets: -8,
render: function (data, type, row, meta) {
if (row.Cnf.Crypt == "0") {
return "不加密"
@@ -217,7 +205,7 @@
}
,
{
targets: -10,
targets: -9,
render: function (data, type, row, meta) {
return row.Cnf.Compress
}