commit 0192b29a4784465e5f69f11ced584a54644e4a90 Merge: 76c17caa 84e4e657 Author: Damian Johnson atagar@torproject.org Date: Mon Jun 18 13:07:38 2018 -0700
Cell attribute for unused padding
Some cells (often fixed width) are padded with extra bytes that are ignored. Rather than dropping these, assigning them to an 'unused' attribute of the base Cell class so callers receive all the data that went into constructing the cell.
stem/client/cell.py | 59 +++++++++++++++++++++++++++++++++++++++--------- test/unit/client/cell.py | 6 +++++ 2 files changed, 54 insertions(+), 11 deletions(-)
tor-commits@lists.torproject.org