Che Kun

Results 47 comments of Che Kun

@axelrindle can you share what you do in your project? needed that feature! Thank you.

@axelrindle Thank you. FYI, `ConnectDialWithReq` function solved my problem.

Here you go @rosahaj ```go proxyServer.ConnectDialWithReq = func(req *http.Request, network, addr string) (net.Conn, error) { if strings.Contains(req.URL.Path, "somethingyouwant") { return proxyServer.NewConnectDialToProxyWithHandler("http://proxy1.com", func(req *http.Request) { })(network, addr) } else { return...

@rosahaj Since you turn on `Mitm`, you don't need ConnectDialWithReq anymore ,just put your logic in proxyServer.Tr.Proxy ```go proxyServer.Tr.Proxy = func(req *http.Request) (*url.URL, error) { println("Tr.Proxy was called") if (some...

I'm not sure, in my case it all works fine.

放入一个文件夹中吧 :smile:

Hi @gitcfly , have you solved this ? I am facing this, no clue at all.

@gitcfly tell you what , you need to get your os trust your ca cert , then everything is fine.

@Moojx 您好,请问你后来搞定了吗?