mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
dd63b97288
In brief: we go through a lot of gymnastics to handle huge protover numbers, but after years of development we're not even close to 10 for any of our current versions. We also have a convenient workaround available in case we ever run out of protocols: if (for example) we someday need Link=64, we can just add Link2=0 or something. This patch is a minimal patch to change tor's behavior; it doesn't take advantage of the new restrictions. Implements #40133 and proposal 318.
6 lines
268 B
Plaintext
6 lines
268 B
Plaintext
o Minor features (protocol simplification):
|
|
- Tor no longer allows subprotocol versions larger than 63. Previously
|
|
versions up to UINT32_MAX were allowed, which significantly complicated
|
|
our code.
|
|
Implements proposal 318; closes ticket 40133.
|