lib/config, lib/connections: Configurables for KCP, disable by default
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4030
This commit is contained in:
committed by
Audrius Butkevicius
parent
0da0774ce4
commit
81af29e3e2
@@ -180,3 +180,10 @@ func (w *sessionClosingStream) Close() error {
|
||||
}
|
||||
return err2
|
||||
}
|
||||
|
||||
func boolInt(b bool) int {
|
||||
if b {
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user