[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit e254e3a815179cdfaf1166edabaa969e8392e597
Author: Dave Rolek <dmr-x@xxxxxxxxxx>
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
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits