mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-06 01:50:26 +08:00
优化代码
This commit is contained in:
@@ -13,7 +13,6 @@ import (
|
|||||||
"github.com/TeaOSLab/EdgeNode/internal/stats"
|
"github.com/TeaOSLab/EdgeNode/internal/stats"
|
||||||
"github.com/TeaOSLab/EdgeNode/internal/utils"
|
"github.com/TeaOSLab/EdgeNode/internal/utils"
|
||||||
"github.com/iwind/TeaGo/lists"
|
"github.com/iwind/TeaGo/lists"
|
||||||
"github.com/iwind/TeaGo/logs"
|
|
||||||
"github.com/iwind/TeaGo/maps"
|
"github.com/iwind/TeaGo/maps"
|
||||||
"github.com/iwind/TeaGo/types"
|
"github.com/iwind/TeaGo/types"
|
||||||
"io"
|
"io"
|
||||||
@@ -1351,7 +1350,6 @@ func (this *HTTPRequest) Close() {
|
|||||||
|
|
||||||
// Allow 放行
|
// Allow 放行
|
||||||
func (this *HTTPRequest) Allow() {
|
func (this *HTTPRequest) Allow() {
|
||||||
logs.Println("allow") // TODO
|
|
||||||
this.web.FirewallRef = nil
|
this.web.FirewallRef = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user