Implement incoming rate limit (fixes #613)

This commit is contained in:
Jakob Borg
2014-09-08 17:25:55 +02:00
parent baf8a63121
commit 6e8272f78f
7 changed files with 58 additions and 17 deletions

View File

@@ -119,6 +119,7 @@ type OptionsConfiguration struct {
LocalAnnMCAddr string `xml:"localAnnounceMCAddr" default:"[ff32::5222]:21026"`
ParallelRequests int `xml:"parallelRequests" default:"16"`
MaxSendKbps int `xml:"maxSendKbps"`
MaxRecvKbps int `xml:"maxRecvKbps"`
ReconnectIntervalS int `xml:"reconnectionIntervalS" default:"60"`
StartBrowser bool `xml:"startBrowser" default:"true"`
UPnPEnabled bool `xml:"upnpEnabled" default:"true"`