nskinkel / oppy

A Tor client (onion proxy) implementation in Python
BSD 3-Clause "New" or "Revised" License
24 stars 3 forks source link

(cell branch) Cells shouldn't have a saved `data` field #78

Closed nskinkel closed 9 years ago

nskinkel commented 9 years ago

When we're working with cells, whenever we call cell.getData() (or equivalently named function that returns a network-writable string of bytes) we should construct this on the fly with struct.pack instead of trying to save a representation of these bytes somewhere.

dwtj commented 9 years ago

Issue resolved as of commit df8d742f.