Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #20622

Closed (moved)
(moved)
Open
Created Nov 09, 2016 by Trac@tracbot

Unit abbreviations "TByte" and "TBytes" are unsupported

Tor's configuration, for settings like BandwidthRate, supports unit abbreviates like "KB", "MByte", and "GBytes".

For tera-, it supports "TB", and apparently "terabyte(s)", "terabit(s)" and "TBit(s)", but not "TByte" or "TBytes".

The man page suggests that they should be supported, without quite entirely saying so:

bytes|KBytes|MBytes|GBytes|KBits|MBits|GBits
The prefixes "tera" and "T" are also recognized.

Bug on c10faf50858943edafe042664b49f8a743df6d7c (r12936) in 0.2.0.14-alpha, i would say, when "KByte(s)", "MByte(s)" and "GByte(s)" were introduced. ("TB" and "terabyte(s)" already existed.)

I have a (two-line) patch, but i have NOT checked that it works or even compiles.

-- Peng

Trac:
Username: mnordhoff

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking