Fix config parsing of the new buffer values.

This commit is contained in:
notsure2 2023-05-29 19:43:18 +03:00
parent 55c06a0a58
commit 4efd000bda
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ func ssvToJson(ssv string) (ret []byte) {
r = strings.Replace(r, `\;`, `;`, -1) r = strings.Replace(r, `\;`, `;`, -1)
return r return r
} }
unquoted := []string{"NumConn", "StreamTimeout", "KeepAlive", "UDP"} unquoted := []string{"NumConn", "StreamTimeout", "KeepAlive", "UDP", "LoopbackTcpSendBuffer", "LoopbackTcpReceiveBuffer"}
lines := strings.Split(unescape(ssv), ";") lines := strings.Split(unescape(ssv), ";")
ret = []byte("{") ret = []byte("{")
for _, ln := range lines { for _, ln := range lines {