Michal Matczuk

Results 136 comments of Michal Matczuk

Once we have the context the in the logs the implementation should be in `Proxy::readRequest` (and a parallel implementation in handler). To request context.Context add requestID value * if X-Request-ID...

@Choraden we have `RequestIDHeader` in martian and as far as I can tell it's never used.

It can be added to out connect implementation.

This has already been implemented.

What we have is a frame relay. It's good to have it, there are some tools to dump h2c frames see this [CF article](https://blog.cloudflare.com/tools-for-debugging-testing-and-using-http-2/). We could do something more in...

This is somewhat tricky but can be done. In that case the Martian DownstreamProxyFunc must return a list and we would try to connect one by one in connect.

For the plain HTTP request path that uses the http.Transport::Proxy() function it's more complicated. I think it should be fixed in the standard library - we shall at least file...

Full http.RoundTripper is a better implementation path.

I tried using custom `DialContext()` and adding proxy info to request context as described above - it's more complicated. 1. http Client with proxy set writes the request to the...