in fabio listen
-proxy.addr :8095;proto=tcp
and add a route urlprefix-:8095 proto=tcp
when tcp client connect fabio ,fabio show
[WARN] No route for :8095
and client show :
read tcp4 127.0.0.1:27134->127.0.0.1:8095: wsarecv: An established connection was aborted by the software in your host machine.
read finish
my config is
"Listen": [
{
"Addr": ":8095",
"Proto": "tcp",
"ReadTimeout": 0,
"WriteTimeout": 0,
"CertSource": {
"Name": "",
"Type": "",
"CertPath": "",
"KeyPath": "",
"ClientCAPath": "",
"CAUpgradeCN": "",
"Refresh": 0,
"Header": null,
"VaultFetchToken": ""
},
"StrictMatch": false,
"TLSMinVersion": 0,
"TLSMaxVersion": 0,
"TLSCiphers": null,
"ProxyProto": false,
"ProxyHeaderTimeout": 0
}
],
and start log show
[INFO] TCP proxy listening on :8095
in fabio listen
-proxy.addr :8095;proto=tcp
and add a route urlprefix-:8095 proto=tcp
when tcp client connect fabio ,fabio show
[WARN] No route for :8095
and client show :
read tcp4 127.0.0.1:27134->127.0.0.1:8095: wsarecv: An established connection was aborted by the software in your host machine.
read finish
my config is
"Listen": [
{
"Addr": ":8095",
"Proto": "tcp",
"ReadTimeout": 0,
"WriteTimeout": 0,
"CertSource": {
"Name": "",
"Type": "",
"CertPath": "",
"KeyPath": "",
"ClientCAPath": "",
"CAUpgradeCN": "",
"Refresh": 0,
"Header": null,
"VaultFetchToken": ""
},
"StrictMatch": false,
"TLSMinVersion": 0,
"TLSMaxVersion": 0,
"TLSCiphers": null,
"ProxyProto": false,
"ProxyHeaderTimeout": 0
}
],
and start log show
[INFO] TCP proxy listening on :8095