summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c95d329)
We must not do anything unexpected by user. It he specified UDP mode and
HTTP proxy -- it is his fault, but that does not mean that we could
assume switching to TCP mode instead. No unexpectedly generated traffic
must come out.
}
if *proxyAddr != "" && protocol == client.ProtocolUDP {
}
if *proxyAddr != "" && protocol == client.ProtocolUDP {
- log.Println("Proxy is supported for TCP only, switch")
- protocol = client.ProtocolTCP
+ log.Fatalln("HTTP proxy is supported only in TCP mode")
}
if *verifierRaw == "" {
}
if *verifierRaw == "" {