[tor-commits] [stem/master] Add comment for FIXED_PAYLOAD_LEN source in tor-spec

atagar at torproject.org atagar at torproject.org
Sat Jun 23 23:59:48 UTC 2018


commit e254e3a815179cdfaf1166edabaa969e8392e597
Author: Dave Rolek <dmr-x at riseup.net>
Date:   Fri Jun 8 20:00:55 2018 +0000

    Add comment for FIXED_PAYLOAD_LEN source in tor-spec
---
 stem/client/cell.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stem/client/cell.py b/stem/client/cell.py
index f464cb2d..4718a3a6 100644
--- a/stem/client/cell.py
+++ b/stem/client/cell.py
@@ -48,7 +48,7 @@ from stem import UNDEFINED
 from stem.client.datatype import HASH_LEN, ZERO, LinkProtocol, Address, Certificate, CloseReason, RelayCommand, Size, split
 from stem.util import _hash_attr, datetime_to_unix, str_tools
 
-FIXED_PAYLOAD_LEN = 509
+FIXED_PAYLOAD_LEN = 509  # PAYLOAD_LEN, per tor-spec section 0.2
 AUTH_CHALLENGE_SIZE = 32
 RELAY_DIGEST_SIZE = Size.LONG
 





More information about the tor-commits mailing list