Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop body of events #205

Open
meejah opened this issue Jan 31, 2017 · 0 comments
Open

drop body of events #205

meejah opened this issue Jan 31, 2017 · 0 comments

Comments

@meejah
Copy link
Owner

meejah commented Jan 31, 2017

For NS and NEWCONSENSUS events, some listeners might not care about the body. In these cases, the body is pretty big (about 1.2MiB) since it's a microdescriptor for all ~8000 relays in the consensus.

It could be useful to have an option to add_event_listener to simply drop the body IF we can avoid building up and saving the body in the parser. Obviously, we can't avoid actually receiving the data (because Tor will always send it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant