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

[tor-commits] [stem/master] Cell attribute for unused padding



commit 0192b29a4784465e5f69f11ced584a54644e4a90
Merge: 76c17caa 84e4e657
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
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 mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits