goproxy icon indicating copy to clipboard operation
goproxy copied to clipboard

An HTTP proxy library for Go

Results 143 goproxy issues
Sort by recently updated
recently updated
newest added

hi all. I'm very like this project, I used as http proxy very good. But now, I need custom running as socks5 proxy and fix outgoing ip address Anyone have...

Hello, I implemented a forward HTTPS proxy using this library. When I test using [ab-proxy](https://github.com/maurice2k/ab-proxy), it always hangs during the test. Here is the relevant section of the code: ```go...

Hi, When i start goproxy instance at 8080 and then try to connect a target secured site with https scheme, I observed that **proxy.OnRequest().DoFunc** is never called. Below is how...

Since the GoproxyCa is a global variable it adds it self to the tlsConfig.Certificates it will break a custom MITM CA. This part of the code loads the hard coded...

Hi! When you copy the headers, using `copyHeaders` [here](https://github.com/elazarl/goproxy/blob/master/proxy.go#L38-L49), you use the `Add` method, which is defined [here](https://golang.org/src/net/http/header.go) (line 27). The "issue" is that `Add` canonicalizes the the headers as...

The goproxy doesn't handle a 100-continue or doesn't provide an example to show how to handle the 100-continue. This seems to be a problem for proxies in general from what...

Allows the OnRequest handlers to hijack the ConnectDial function to dynamically set a destination, similar to the functionality available for hijacking the RoundTripper for non-CONNECT requests.

I would like to set a different `http.Transport` and `ConnectDial` function based on the request received(e.g. within a `DoFunc`) . How can I do that? Currently it seems they can...

I use GoProxy as an intermediate proxy. So, just transferring traffic from GoProxy to some other proxy. It works as intended for the HTTP protocol, but HTTPS does not. It...

I see that [this example](https://github.com/elazarl/goproxy/blob/master/examples/cascadeproxy/main.go) shows how to use an upstream proxy. I'm wondering how to use multiple upstream proxies. It seems like I could have `middleProxy.Tr.Proxy` return different proxy...