mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-05 16:30:07 +00:00
handle inbound detour in vmess inbound
This commit is contained in:
1 parent
573d0a9c29
commit
b0adb24003
13 files changed
+163
-75
No files matched your search
@@ -9,17 +9,21 @@ import (
|
||||
)
|
||||
|
||||
type InboundConnectionHandler struct {
|
||||
Port v2net.Port
|
||||
port v2net.Port
|
||||
Space app.Space
|
||||
ConnInput io.Reader
|
||||
ConnOutput io.Writer
|
||||
}
|
||||
|
||||
func (this *InboundConnectionHandler) Listen(port v2net.Port) error {
|
||||
this.Port = port
|
||||
this.port = port
|
||||
return nil
|
||||
}
|
||||
|
||||
func (this *InboundConnectionHandler) Port() v2net.Port {
|
||||
return this.port
|
||||
}
|
||||
|
||||
func (this *InboundConnectionHandler) Close() {
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user