mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-06 14:50:14 +00:00
Fix over-tcp DNS for HTTP proxies
This commit is contained in:
parent
d5d847fa92
commit
f418ca4fe7
1 changed files with 1 additions and 0 deletions
|
@ -272,6 +272,7 @@ where
|
|||
info.dst.set_ip(dns_addr);
|
||||
}
|
||||
if args.dns == ArgDns::OverTcp {
|
||||
info.protocol = IpProtocol::Tcp;
|
||||
let proxy_handler = mgr.new_proxy_handler(info, None, false).await?;
|
||||
let socket_queue = socket_queue.clone();
|
||||
tokio::spawn(async move {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue