mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
change bandwidth type from int to int64 to prevent overflow
This commit is contained in:
parent
115ba6a745
commit
2c599f8827
7 changed files with 36 additions and 34 deletions
|
@ -18,8 +18,8 @@ func NewProxyEventLogger(logPeriod time.Duration, output io.Writer) event.Snowfl
|
|||
}
|
||||
|
||||
type logEventLogger struct {
|
||||
inboundSum int
|
||||
outboundSum int
|
||||
inboundSum int64
|
||||
outboundSum int64
|
||||
connectionCount int
|
||||
logPeriod time.Duration
|
||||
task *task.Periodic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue