use a rewriter instead

This commit is contained in:
idk 2018-12-25 21:58:35 -05:00
parent 2e867583dc
commit 8a90646a68
No known key found for this signature in database
GPG key ID: D75C03B39B5E14E1
3 changed files with 28 additions and 3 deletions

View file

@ -10,6 +10,7 @@ import (
import (
"github.com/eyedeekay/eeproxy/conn"
"github.com/eyedeekay/eeproxy/resolve"
"github.com/eyedeekay/eeproxy/rewriter"
"github.com/eyedeekay/go-socks5"
"github.com/eyedeekay/sam3"
)
@ -105,6 +106,7 @@ func NewManagerFromOptions(opts ...func(*Manager) error) (*Manager, error) {
m.Config = socks5.Config{
Resolver: r,
Dial: m.Dial,
Rewriter: NewRewriter(),
}
return &m, nil
}