mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-12-02 18:56:47 +00:00
chore: remove unused code in h2ConnWrapper
This commit is contained in:
1 parent
4f5ad974ca
commit
78e4b844c2
1 file changed
-5
@@ -112,11 +112,6 @@ func (w *h2ConnWrapper) CloseWrapper() {
|
||||
w.closed = true
|
||||
}
|
||||
|
||||
func (w *h2ConnWrapper) Close() error {
|
||||
w.CloseWrapper()
|
||||
return w.ExtendedConn.Close()
|
||||
}
|
||||
|
||||
func (w *h2ConnWrapper) Upstream() any {
|
||||
return w.ExtendedConn
|
||||
}
|
||||
Reference in new issue
Block a user