mirror of
https://github.com/fatedier/frp.git
synced 2025-07-27 15:45:39 +00:00
websocket protocol
This commit is contained in:
@@ -187,7 +187,7 @@ func UnmarshalClientConfFromIni(defaultCfg *ClientCommonConf, content string) (c
|
||||
|
||||
if tmpStr, ok = conf.Get("common", "protocol"); ok {
|
||||
// Now it only support tcp and kcp.
|
||||
if tmpStr != "kcp" {
|
||||
if tmpStr != "kcp" && tmpStr != "websocket" {
|
||||
tmpStr = "tcp"
|
||||
}
|
||||
cfg.Protocol = tmpStr
|
||||
|
Reference in New Issue
Block a user