mirror of
https://github.com/Snawoot/opera-proxy.git
synced 2025-09-03 03:00:31 +00:00
upstream: fix var name
This commit is contained in:
parent
bc503b52e2
commit
fdecea9ab1
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ func (d *ProxyDialer) DialContext(ctx context.Context, network, address string)
|
||||||
req := &http.Request{
|
req := &http.Request{
|
||||||
Method: PROXY_CONNECT_METHOD,
|
Method: PROXY_CONNECT_METHOD,
|
||||||
Proto: "HTTP/1.1",
|
Proto: "HTTP/1.1",
|
||||||
URL: &url.URL{Opaque: dest},
|
URL: &url.URL{Opaque: address},
|
||||||
Host: address,
|
Host: address,
|
||||||
Header: http.Header{
|
Header: http.Header{
|
||||||
PROXY_HOST_HEADER: []string{address},
|
PROXY_HOST_HEADER: []string{address},
|
||||||
|
|
Loading…
Add table
Reference in a new issue