mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-05-29 23:39:09 -04:00
move proxy.Dialer to internet.Dialer
This commit is contained in:
@@ -87,7 +87,7 @@ func isValidAddress(addr *net.IPOrDomain) bool {
|
||||
}
|
||||
|
||||
// Process implements proxy.Outbound.
|
||||
func (h *Handler) Process(ctx context.Context, link *vio.Link, dialer proxy.Dialer) error {
|
||||
func (h *Handler) Process(ctx context.Context, link *vio.Link, dialer internet.Dialer) error {
|
||||
outbound := session.OutboundFromContext(ctx)
|
||||
if outbound == nil || !outbound.Target.IsValid() {
|
||||
return newError("target not specified.")
|
||||
|
||||
Reference in New Issue
Block a user