Service an incoming HTTP connection on conn by sending a request out to the world through dst. All HTTP requests sent to dst will have a context containing a value for the key dialToContextKey.
(dst http.RoundTripper, conn net.Conn)
| 177 | // Service an incoming HTTP connection on conn by sending a request out to the world through dst. |
| 178 | // All HTTP requests sent to dst will have a context containing a value for the key dialToContextKey. |
| 179 | func proxyHTTP(dst http.RoundTripper, conn net.Conn) { |
| 180 | proxyHTTPScheme(dst, conn, "http") |
| 181 | } |
| 182 | |
| 183 | // Service an incoming HTTP connection on conn by sending a request out to the world through dst. |
| 184 | // If the URL in the request does not contain a scheme, use the specified scheme for the proxied request. |
no test coverage detected