We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63ce63c commit eaa5d0aCopy full SHA for eaa5d0a
lib/mint/tunnel_proxy.ex
@@ -47,7 +47,7 @@ defmodule Mint.TunnelProxy do
47
# Note that we may leak messages if the server sent data after the CONNECT response
48
case Negotiate.upgrade(proxy_scheme, socket, scheme, hostname, port, opts) do
49
{:ok, conn} -> {:ok, HTTP.put_proxy_headers(conn, proxy_headers)}
50
- {:error, reason} -> wrap_in_proxy_error(reason)
+ {:error, reason} -> {:error, wrap_in_proxy_error(reason)}
51
end
52
53
0 commit comments