We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63a268e commit e39051dCopy full SHA for e39051d
1 file changed
src/clientlayers/ConnectionRequest.jl
@@ -84,9 +84,9 @@ function connectionlayer(handler)
84
shouldreuse = false
85
# tunnel request
86
if target_url.scheme in ("https", "wss")
87
- target_url = merge(target_url, port=443)
+ target_url = URI(target_url, port=443)
88
elseif target_url.scheme in ("ws", ) && target_url.port == ""
89
- target_url = merge(target_url, port=80) # if there is no port info, connect_tunnel will fail
+ target_url = URI(target_url, port=80) # if there is no port info, connect_tunnel will fail
90
end
91
r = connect_tunnel(io, target_url, req)
92
if r.status != 200
0 commit comments